Class CreatePublicGatewayOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreatePublicGatewayOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(VPCIdentity vpc, ZoneIdentity zone) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a CreatePublicGatewayOptions.floatingIp(PublicGatewayFloatingIPPrototype floatingIp) Set the floatingIp.Set the name.resourceGroup(ResourceGroupIdentity resourceGroup) Set the resourceGroup.vpc(VPCIdentity vpc) Set the vpc.zone(ZoneIdentity zone) Set the zone.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
vpc- the vpczone- the zone
-
-
Method Details
-
build
Builds a CreatePublicGatewayOptions.- Returns:
- the new CreatePublicGatewayOptions instance
-
vpc
Set the vpc.- Parameters:
vpc- the vpc- Returns:
- the CreatePublicGatewayOptions builder
-
zone
Set the zone.- Parameters:
zone- the zone- Returns:
- the CreatePublicGatewayOptions builder
-
floatingIp
Set the floatingIp.- Parameters:
floatingIp- the floatingIp- Returns:
- the CreatePublicGatewayOptions builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreatePublicGatewayOptions builder
-
resourceGroup
Set the resourceGroup.- Parameters:
resourceGroup- the resourceGroup- Returns:
- the CreatePublicGatewayOptions builder
-