Class CreateInstanceVolumeAttachmentOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.CreateInstanceVolumeAttachmentOptions
- All Implemented Interfaces:
 com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateInstanceVolumeAttachmentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createInstanceVolumeAttachment options.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder. - 
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString 
- 
Method Details
- 
newBuilder
New builder.- Returns:
 - a CreateInstanceVolumeAttachmentOptions builder
 
 - 
instanceId
Gets the instanceId. The virtual server instance identifier.- Returns:
 - the instanceId
 
 - 
volume
Gets the volume. The volume to use for this attachment. This can be specified as an existing unattached volume, or a prototype object for a new volume.- Returns:
 - the volume
 
 - 
deleteVolumeOnInstanceDelete
Gets the deleteVolumeOnInstanceDelete. Indicates whether deleting the instance will also delete the attached volume.- Returns:
 - the deleteVolumeOnInstanceDelete
 
 - 
name
Gets the name. The name for this volume attachment. The name must not be used by another volume attachment on the instance. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
 - the name
 
 
 -