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.GenericModel
The createVpc options.
  • Method Details

    • 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

      @Deprecated public Boolean classicAccess()
      Deprecated.
      this method is deprecated and may be removed in a future release
      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. This property has been deprecated. Instead, use a [Transit Gateway](https://cloud.ibm.com/docs/transit-gateway) to connect this VPC to Classic Infrastructure. For more information, see [upcoming changes](https://cloud.ibm.com/docs/vpc?topic=vpc-api-change-log#upcoming-changes).
      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