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