Package com.ibm.cloud.is.vpc.v1.model
Class CreateVpcOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateVpcOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateVpcOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createVpc options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateVpcOptions.AddressPrefixManagementIndicates whether a [default address prefix](https://cloud.ibm.com/docs/vpc?topic=vpc-configuring-address-prefixes) will be automatically created for each zone in this VPC.static classCreateVpcOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressPrefixManagement()Gets the addressPrefixManagement.BooleanclassicAccess()Gets the classicAccess.VPCDNSPrototypedns()Gets the dns.Stringname()Gets the name.CreateVpcOptions.BuildernewBuilder()New builder.ResourceGroupIdentityresourceGroup()Gets the resourceGroup.
-
-
-
Method Detail
-
newBuilder
public CreateVpcOptions.Builder newBuilder()
New builder.- Returns:
- a CreateVpcOptions builder
-
addressPrefixManagement
public String addressPrefixManagement()
Gets the addressPrefixManagement. Indicates whether a [default address prefix](https://cloud.ibm.com/docs/vpc?topic=vpc-configuring-address-prefixes) will be automatically created for each zone in this VPC. If `manual`, this VPC will be created with no default address prefixes. Since address prefixes are managed identically regardless of whether they were automatically created, the value is not preserved as a VPC property.- Returns:
- the addressPrefixManagement
-
classicAccess
public Boolean classicAccess()
Gets the classicAccess. Indicates whether this VPC will be connected to Classic Infrastructure. If true, this VPC's resources will have private network connectivity to the account's Classic Infrastructure resources. Only one VPC, per region, may be connected in this way. This value is set at creation and subsequently immutable.- Returns:
- the classicAccess
-
dns
public VPCDNSPrototype dns()
Gets the dns. The DNS configuration for this VPC. If unspecified, the system will assign DNS servers capable of resolving hosts and endpoint gateways within this VPC, and hosts on the internet.- Returns:
- the dns
-
name
public String name()
Gets the name. The name for this VPC. The name must not be used by another VPC in the region. 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
-
-