Package com.ibm.cloud.is.vpc.v1.model
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 Classes Modifier and Type Class Description static class
CreateClusterNetworkAttachmentOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceClusterNetworkAttachmentBeforePrototype
before()
Gets the before.InstanceClusterNetworkAttachmentPrototypeClusterNetworkInterface
clusterNetworkInterface()
Gets the clusterNetworkInterface.String
instanceId()
Gets the instanceId.String
name()
Gets the name.CreateClusterNetworkAttachmentOptions.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public CreateClusterNetworkAttachmentOptions.Builder newBuilder()
New builder.- Returns:
- a CreateClusterNetworkAttachmentOptions builder
-
instanceId
public String instanceId()
Gets the instanceId. The virtual server instance identifier.- Returns:
- the instanceId
-
clusterNetworkInterface
public InstanceClusterNetworkAttachmentPrototypeClusterNetworkInterface 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
public InstanceClusterNetworkAttachmentBeforePrototype 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
public String 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
-
-