Package com.ibm.cloud.is.vpc.v1.model
Class InstanceDiskPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.InstanceDiskPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceDiskPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceDiskPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceDiskPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asPatch()
Construct a JSON merge-patch from the InstanceDiskPatch.String
name()
Gets the name.InstanceDiskPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public InstanceDiskPatch.Builder newBuilder()
New builder.- Returns:
- a InstanceDiskPatch builder
-
name
public String name()
Gets the name. The name for this instance disk. The name must not be used by another disk on the instance.- Returns:
- the name
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the InstanceDiskPatch. Note that properties of the InstanceDiskPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the InstanceDiskPatch
-
-