Package com.ibm.cloud.is.vpc.v1.model
Class SubnetPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.SubnetPatch.Builder
-
- Enclosing class:
- SubnetPatch
public static class SubnetPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetPatch
build()
Builds a SubnetPatch.SubnetPatch.Builder
name(String name)
Set the name.SubnetPatch.Builder
networkAcl(NetworkACLIdentity networkAcl)
Set the networkAcl.SubnetPatch.Builder
publicGateway(SubnetPublicGatewayPatch publicGateway)
Set the publicGateway.SubnetPatch.Builder
routingTable(RoutingTableIdentity routingTable)
Set the routingTable.
-
-
-
Method Detail
-
build
public SubnetPatch build()
Builds a SubnetPatch.- Returns:
- the new SubnetPatch instance
-
name
public SubnetPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the SubnetPatch builder
-
networkAcl
public SubnetPatch.Builder networkAcl(NetworkACLIdentity networkAcl)
Set the networkAcl.- Parameters:
networkAcl
- the networkAcl- Returns:
- the SubnetPatch builder
-
publicGateway
public SubnetPatch.Builder publicGateway(SubnetPublicGatewayPatch publicGateway)
Set the publicGateway.- Parameters:
publicGateway
- the publicGateway- Returns:
- the SubnetPatch builder
-
routingTable
public SubnetPatch.Builder routingTable(RoutingTableIdentity routingTable)
Set the routingTable.- Parameters:
routingTable
- the routingTable- Returns:
- the SubnetPatch builder
-
-