Package com.ibm.cloud.is.vpc.v1.model
Class CreatePublicGatewayOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreatePublicGatewayOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreatePublicGatewayOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createPublicGateway options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreatePublicGatewayOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicGatewayFloatingIPPrototypefloatingIp()Gets the floatingIp.Stringname()Gets the name.CreatePublicGatewayOptions.BuildernewBuilder()New builder.ResourceGroupIdentityresourceGroup()Gets the resourceGroup.VPCIdentityvpc()Gets the vpc.ZoneIdentityzone()Gets the zone.
-
-
-
Method Detail
-
newBuilder
public CreatePublicGatewayOptions.Builder newBuilder()
New builder.- Returns:
- a CreatePublicGatewayOptions builder
-
vpc
public VPCIdentity vpc()
Gets the vpc. The VPC this public gateway will reside in.- Returns:
- the vpc
-
zone
public ZoneIdentity zone()
Gets the zone. The zone this public gateway will reside in.- Returns:
- the zone
-
floatingIp
public PublicGatewayFloatingIPPrototype floatingIp()
Gets the floatingIp.- Returns:
- the floatingIp
-
name
public String name()
Gets the name. The name for this public gateway. The name must not be used by another public gateway in the VPC. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
resourceGroup
public ResourceGroupIdentity resourceGroup()
Gets the resourceGroup. The resource group to use. If unspecified, the account's [default resource group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.- Returns:
- the resourceGroup
-
-