Class SetSubnetPublicGatewayOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.SetSubnetPublicGatewayOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()
Instantiates a new builder.Builder
(String id, PublicGatewayIdentity publicGatewayIdentity) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a SetSubnetPublicGatewayOptions.Set the id.publicGatewayIdentity
(PublicGatewayIdentity publicGatewayIdentity) Set the publicGatewayIdentity.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
id
- the idpublicGatewayIdentity
- the publicGatewayIdentity
-
-
Method Details
-
build
Builds a SetSubnetPublicGatewayOptions.- Returns:
- the new SetSubnetPublicGatewayOptions instance
-
id
Set the id.- Parameters:
id
- the id- Returns:
- the SetSubnetPublicGatewayOptions builder
-
publicGatewayIdentity
public SetSubnetPublicGatewayOptions.Builder publicGatewayIdentity(PublicGatewayIdentity publicGatewayIdentity) Set the publicGatewayIdentity.- Parameters:
publicGatewayIdentity
- the publicGatewayIdentity- Returns:
- the SetSubnetPublicGatewayOptions builder
-