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