Class CreateClusterNetworkAttachmentOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.CreateClusterNetworkAttachmentOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateClusterNetworkAttachmentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createClusterNetworkAttachment options.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateClusterNetworkAttachmentOptions builder
-
instanceId
Gets the instanceId. The virtual server instance identifier.- Returns:
- the instanceId
-
clusterNetworkInterface
Gets the clusterNetworkInterface. A cluster network interface for the instance cluster network attachment. This can be specified using an existing cluster network interface that does not already have a `target`, or a prototype object for a new cluster network interface. This instance must reside in the same VPC as the specified cluster network interface. The cluster network interface must reside in the same cluster network as the `cluster_network_interface` of any other `cluster_network_attachments` for this instance.- Returns:
- the clusterNetworkInterface
-
before
Gets the before. The instance cluster network attachment to insert this instance cluster network attachment immediately before. If unspecified, this instance cluster network attachment will be inserted after all existing instance cluster network attachments.- Returns:
- the before
-
name
Gets the name. The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed.- Returns:
- the name
-