Class 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.
    • Method Detail

      • 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