Package com.ibm.cloud.is.vpc.v1.model
Class ClusterNetworkInterfacePatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ClusterNetworkInterfacePatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ClusterNetworkInterfacePatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
ClusterNetworkInterfacePatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterNetworkInterfacePatch.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 ClusterNetworkInterfacePatch.Boolean
autoDelete()
Gets the autoDelete.String
name()
Gets the name.ClusterNetworkInterfacePatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public ClusterNetworkInterfacePatch.Builder newBuilder()
New builder.- Returns:
- a ClusterNetworkInterfacePatch builder
-
autoDelete
public Boolean autoDelete()
Gets the autoDelete. Indicates whether this cluster network interface will be automatically deleted when `target` is deleted. Must be `false` if the cluster network interface is unbound.- Returns:
- the autoDelete
-
name
public String name()
Gets the name. The name for this cluster network interface. The name must not be used by another interface in the cluster network. Names beginning 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 ClusterNetworkInterfacePatch. Note that properties of the ClusterNetworkInterfacePatch 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 ClusterNetworkInterfacePatch
-
-