Package com.ibm.cloud.is.vpc.v1.model
Class VolumeAttachmentReferenceInstanceContext
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.VolumeAttachmentReferenceInstanceContext
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VolumeAttachmentReferenceInstanceContext extends com.ibm.cloud.sdk.core.service.model.GenericModelVolumeAttachmentReferenceInstanceContext.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeAttachmentReferenceInstanceContextDeletedgetDeleted()Gets the deleted.VolumeAttachmentDevicegetDevice()Gets the device.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetName()Gets the name.VolumeReferenceVolumeAttachmentContextgetVolume()Gets the volume.
-
-
-
Method Detail
-
getDeleted
public VolumeAttachmentReferenceInstanceContextDeleted getDeleted()
Gets the deleted. If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.- Returns:
- the deleted
-
getDevice
public VolumeAttachmentDevice getDevice()
Gets the device. Information about how the volume is exposed to the instance operating system. This property may be absent if the volume attachment's `status` is not `attached`.- Returns:
- the device
-
getHref
public String getHref()
Gets the href. The URL for this volume attachment.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this volume attachment.- Returns:
- the id
-
getName
public String getName()
Gets the name. The name for this volume attachment. The name is unique across all volume attachments on the instance.- Returns:
- the name
-
getVolume
public VolumeReferenceVolumeAttachmentContext getVolume()
Gets the volume. The attached volume. This property will be absent if the volume has not yet been provisioned.- Returns:
- the volume
-
-