Package com.ibm.cloud.is.vpc.v1.model
Class CreateVpcDnsResolutionBindingOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateVpcDnsResolutionBindingOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateVpcDnsResolutionBindingOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createVpcDnsResolutionBinding options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateVpcDnsResolutionBindingOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Gets the name.CreateVpcDnsResolutionBindingOptions.Builder
newBuilder()
New builder.VPCIdentity
vpc()
Gets the vpc.String
vpcId()
Gets the vpcId.
-
-
-
Method Detail
-
newBuilder
public CreateVpcDnsResolutionBindingOptions.Builder newBuilder()
New builder.- Returns:
- a CreateVpcDnsResolutionBindingOptions builder
-
vpcId
public String vpcId()
Gets the vpcId. The VPC identifier.- Returns:
- the vpcId
-
vpc
public VPCIdentity vpc()
Gets the vpc. Another VPC to bind this VPC to for DNS resolution. The VPC must have `dns.enable_hub` set to `true`, and may be in a different account (subject to IAM policies). Additionally, the VPC specified in the URL (this VPC) must have `dns.enable_hub` set to `false` and a `dns.resolution_binding_count` of zero.- Returns:
- the vpc
-
name
public String name()
Gets the name. The name for this DNS resolution binding. The name must not be used by another DNS resolution binding for the VPC. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
-