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