Class SubnetPatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.SubnetPatch
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SubnetPatch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
SubnetPatch.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
-
name
Gets the name. The name for this subnet. The name must not be used by another subnet in the VPC.- Returns:
- the name
-
networkAcl
Gets the networkAcl. The network ACL to use for this subnet.- Returns:
- the networkAcl
-
publicGateway
Gets the publicGateway. The public gateway to use for internet-bound traffic for this subnet.- Returns:
- the publicGateway
-
routingTable
Gets the routingTable. The routing table to use for this subnet. The routing table properties `route_direct_link_ingress`, `route_internet_ingress`, `route_transit_gateway_ingress`, and `route_vpc_zone_ingress` must be `false`.- Returns:
- the routingTable
-
asPatch
Construct a JSON merge-patch from the SubnetPatch. Note that properties of the SubnetPatch 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 SubnetPatch
-