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