Package com.ibm.cloud.is.vpc.v1.model
Class CreateEndpointGatewayOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateEndpointGatewayOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateEndpointGatewayOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createEndpointGateway options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateEndpointGatewayOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
allowDnsResolutionBinding()
Gets the allowDnsResolutionBinding.List<EndpointGatewayReservedIP>
ips()
Gets the ips.String
name()
Gets the name.CreateEndpointGatewayOptions.Builder
newBuilder()
New builder.ResourceGroupIdentity
resourceGroup()
Gets the resourceGroup.List<SecurityGroupIdentity>
securityGroups()
Gets the securityGroups.EndpointGatewayTargetPrototype
target()
Gets the target.VPCIdentity
vpc()
Gets the vpc.
-
-
-
Method Detail
-
newBuilder
public CreateEndpointGatewayOptions.Builder newBuilder()
New builder.- Returns:
- a CreateEndpointGatewayOptions builder
-
target
public EndpointGatewayTargetPrototype target()
Gets the target. The target to use for this endpoint gateway. The target: - Must not already be the target of another endpoint gateway in the VPC - Must not have a service endpoint that duplicates or overlaps with any `service_endpoints` of another endpoint gateway in the VPC.- Returns:
- the target
-
vpc
public VPCIdentity vpc()
Gets the vpc. The VPC this endpoint gateway will reside in.- Returns:
- the vpc
-
allowDnsResolutionBinding
public Boolean allowDnsResolutionBinding()
Gets the allowDnsResolutionBinding. Indicates whether to allow DNS resolution for this endpoint gateway when the VPC this endpoint gateway resides in has a DNS resolution binding to a VPC with `dns.enable_hub` set to `true`. Must be `true` if the VPC this endpoint gateway resides in has `dns.enable_hub` set to `true`.- Returns:
- the allowDnsResolutionBinding
-
ips
public List<EndpointGatewayReservedIP> ips()
Gets the ips. The reserved IPs to bind to this endpoint gateway. At most one reserved IP per zone is allowed.- Returns:
- the ips
-
name
public String name()
Gets the name. The name for this endpoint gateway. The name must not be used by another endpoint 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
-
securityGroups
public List<SecurityGroupIdentity> securityGroups()
Gets the securityGroups. The security groups to use for this endpoint gateway. If unspecified, the VPC's default security group is used.- Returns:
- the securityGroups
-
-