Package com.ibm.cloud.is.vpc.v1.model
Class InstanceDisk
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.InstanceDisk
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceDisk extends com.ibm.cloud.sdk.core.service.model.GenericModelInstanceDisk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceDisk.InterfaceTypeThe disk interface used for attaching the disk.static interfaceInstanceDisk.ResourceTypeThe resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetInterfaceType()Gets the interfaceType.StringgetName()Gets the name.StringgetResourceType()Gets the resourceType.LonggetSize()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 instance disk.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this instance disk.- Returns:
- the id
-
getInterfaceType
public String getInterfaceType()
Gets the interfaceType. The disk interface used for attaching the disk. The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.- Returns:
- the interfaceType
-
getName
public String getName()
Gets the name. The name for this instance disk. The name is unique across all disks on the instance.- 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
-
-