Package com.ibm.cloud.is.vpc.v1.model
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateClusterNetworkOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Gets the name.CreateClusterNetworkOptions.Builder
newBuilder()
New builder.ClusterNetworkProfileIdentity
profile()
Gets the profile.ResourceGroupIdentity
resourceGroup()
Gets the resourceGroup.List<ClusterNetworkSubnetPrefixPrototype>
subnetPrefixes()
Gets the subnetPrefixes.VPCIdentity
vpc()
Gets the vpc.ZoneIdentity
zone()
Gets the zone.
-
-
-
Method Detail
-
newBuilder
public CreateClusterNetworkOptions.Builder newBuilder()
New builder.- Returns:
- a CreateClusterNetworkOptions builder
-
profile
public ClusterNetworkProfileIdentity 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
-
-