Package com.ibm.cloud.is.vpc.v1.model
Class SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.Builder
-
- Enclosing class:
- SubnetPublicGatewayPatchPublicGatewayIdentityByCRN
public static class SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(SubnetPublicGatewayPatch subnetPublicGatewayPatchPublicGatewayIdentityByCrn)
Instantiates a new Builder from an existing SubnetPublicGatewayPatchPublicGatewayIdentityByCRN instance.Builder(String crn)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetPublicGatewayPatchPublicGatewayIdentityByCRN
build()
Builds a SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.Builder
crn(String crn)
Set the crn.
-
-
-
Constructor Detail
-
Builder
public Builder(SubnetPublicGatewayPatch subnetPublicGatewayPatchPublicGatewayIdentityByCrn)
Instantiates a new Builder from an existing SubnetPublicGatewayPatchPublicGatewayIdentityByCRN instance.- Parameters:
subnetPublicGatewayPatchPublicGatewayIdentityByCrn
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String crn)
Instantiates a new builder with required properties.- Parameters:
crn
- the crn
-
-
Method Detail
-
build
public SubnetPublicGatewayPatchPublicGatewayIdentityByCRN build()
Builds a SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.- Returns:
- the new SubnetPublicGatewayPatchPublicGatewayIdentityByCRN instance
-
crn
public SubnetPublicGatewayPatchPublicGatewayIdentityByCRN.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the SubnetPublicGatewayPatchPublicGatewayIdentityByCRN builder
-
-