Class VolumeAttachmentReferenceVolumeContext

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class VolumeAttachmentReferenceVolumeContext
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    VolumeAttachmentReferenceVolumeContext.
    • Method Detail

      • isDeleteVolumeOnInstanceDelete

        public Boolean isDeleteVolumeOnInstanceDelete()
        Gets the deleteVolumeOnInstanceDelete. Indicates whether deleting the instance will also delete the attached volume.
        Returns:
        the deleteVolumeOnInstanceDelete
      • getDeleted

        public Deleted 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
      • getInstance

        public InstanceReference getInstance()
        Gets the instance. The attached instance.
        Returns:
        the instance
      • 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
      • getType

        public String getType()
        Gets the type. The type of volume attachment. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        Returns:
        the type