Package com.ibm.cloud.is.vpc.v1.model
Class SubnetIdentityByCRN.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.SubnetIdentityByCRN.Builder
-
- Enclosing class:
- SubnetIdentityByCRN
public static class SubnetIdentityByCRN.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(SubnetIdentity subnetIdentityByCrn)
Instantiates a new Builder from an existing SubnetIdentityByCRN instance.Builder(String crn)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetIdentityByCRN
build()
Builds a SubnetIdentityByCRN.SubnetIdentityByCRN.Builder
crn(String crn)
Set the crn.
-
-
-
Constructor Detail
-
Builder
public Builder(SubnetIdentity subnetIdentityByCrn)
Instantiates a new Builder from an existing SubnetIdentityByCRN instance.- Parameters:
subnetIdentityByCrn
- 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 SubnetIdentityByCRN build()
Builds a SubnetIdentityByCRN.- Returns:
- the new SubnetIdentityByCRN instance
-
crn
public SubnetIdentityByCRN.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the SubnetIdentityByCRN builder
-
-