Package com.ibm.cloud.is.vpc.v1.model
Class ClusterNetworkPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ClusterNetworkPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ClusterNetworkPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
ClusterNetworkPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterNetworkPatch.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 ClusterNetworkPatch.String
name()
Gets the name.ClusterNetworkPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public ClusterNetworkPatch.Builder newBuilder()
New builder.- Returns:
- a ClusterNetworkPatch builder
-
name
public String name()
Gets the name. The name for this cluster network. The name must not be used by another cluster network in the region. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed.- Returns:
- the name
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the ClusterNetworkPatch. Note that properties of the ClusterNetworkPatch 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 ClusterNetworkPatch
-
-