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