Package com.ibm.cloud.is.vpc.v1.model
Class BareMetalServerDisk
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.BareMetalServerDisk
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class BareMetalServerDisk extends com.ibm.cloud.sdk.core.service.model.GenericModel
BareMetalServerDisk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BareMetalServerDisk.InterfaceType
The disk attachment interface used: - `fcp`: Fiber Channel Protocol - `sata`: Serial Advanced Technology Attachment - `nvme`: Non-Volatile Memory Express The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.static interface
BareMetalServerDisk.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getHref()
Gets the href.String
getId()
Gets the id.String
getInterfaceType()
Gets the interfaceType.String
getName()
Gets the name.String
getResourceType()
Gets the resourceType.Long
getSize()
Gets the size.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the disk was created.- Returns:
- the createdAt
-
getHref
public String getHref()
Gets the href. The URL for this bare metal server disk.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this bare metal server disk.- Returns:
- the id
-
getInterfaceType
public String getInterfaceType()
Gets the interfaceType. The disk attachment interface used: - `fcp`: Fiber Channel Protocol - `sata`: Serial Advanced Technology Attachment - `nvme`: Non-Volatile Memory Express The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the interfaceType
-
getName
public String getName()
Gets the name. The name for this bare metal server disk. The name is unique across all disks on the bare metal server.- Returns:
- the name
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getSize
public Long getSize()
Gets the size. The size of the disk in GB (gigabytes).- Returns:
- the size
-
-