Package com.ibm.cloud.is.vpc.v1.model
Class VolumeAttachmentPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.VolumeAttachmentPatch.Builder
-
- Enclosing class:
- VolumeAttachmentPatch
public static class VolumeAttachmentPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeAttachmentPatch
build()
Builds a VolumeAttachmentPatch.VolumeAttachmentPatch.Builder
deleteVolumeOnInstanceDelete(Boolean deleteVolumeOnInstanceDelete)
Set the deleteVolumeOnInstanceDelete.VolumeAttachmentPatch.Builder
name(String name)
Set the name.
-
-
-
Method Detail
-
build
public VolumeAttachmentPatch build()
Builds a VolumeAttachmentPatch.- Returns:
- the new VolumeAttachmentPatch instance
-
deleteVolumeOnInstanceDelete
public VolumeAttachmentPatch.Builder deleteVolumeOnInstanceDelete(Boolean deleteVolumeOnInstanceDelete)
Set the deleteVolumeOnInstanceDelete.- Parameters:
deleteVolumeOnInstanceDelete
- the deleteVolumeOnInstanceDelete- Returns:
- the VolumeAttachmentPatch builder
-
name
public VolumeAttachmentPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the VolumeAttachmentPatch builder
-
-