Class CreateClusterNetworkOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.CreateClusterNetworkOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateClusterNetworkOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createClusterNetwork options.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a CreateClusterNetworkOptions builder
    • profile

      Gets the profile. The profile to use for this cluster network.
      Returns:
      the profile
    • vpc

      public VPCIdentity vpc()
      Gets the vpc. The VPC this cluster network will reside in.
      Returns:
      the vpc
    • zone

      public ZoneIdentity zone()
      Gets the zone. The zone this cluster network will reside in. The zone must be listed as supported on the specified cluster network profile.
      Returns:
      the zone
    • name

      public String name()
      Gets the name. The name for this cluster network. The name must not be used by another cluster network in the region. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed. 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
    • subnetPrefixes

      public List<ClusterNetworkSubnetPrefixPrototype> subnetPrefixes()
      Gets the subnetPrefixes.
      Returns:
      the subnetPrefixes