Package com.ibm.cloud.is.vpc.v1.model
Class InstanceClusterNetworkAttachment
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.InstanceClusterNetworkAttachment
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceClusterNetworkAttachment extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceClusterNetworkAttachment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceClusterNetworkAttachment.LifecycleState
The lifecycle state of the instance cluster network attachment.static interface
InstanceClusterNetworkAttachment.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceClusterNetworkAttachmentBefore
getBefore()
Gets the before.ClusterNetworkInterfaceReference
getClusterNetworkInterface()
Gets the clusterNetworkInterface.String
getHref()
Gets the href.String
getId()
Gets the id.List<InstanceClusterNetworkAttachmentLifecycleReason>
getLifecycleReasons()
Gets the lifecycleReasons.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.String
getResourceType()
Gets the resourceType.
-
-
-
Method Detail
-
getBefore
public InstanceClusterNetworkAttachmentBefore getBefore()
Gets the before. The instance cluster network attachment that is immediately before. If absent, this is the last instance cluster network attachment.- Returns:
- the before
-
getClusterNetworkInterface
public ClusterNetworkInterfaceReference getClusterNetworkInterface()
Gets the clusterNetworkInterface. The cluster network interface for this instance cluster network attachment.- Returns:
- the clusterNetworkInterface
-
getHref
public String getHref()
Gets the href. The URL for this instance cluster network attachment.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this instance cluster network attachment.- Returns:
- the id
-
getLifecycleReasons
public List<InstanceClusterNetworkAttachmentLifecycleReason> getLifecycleReasons()
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the instance cluster network attachment.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this instance cluster network attachment. The name is unique across all network attachments for the instance.- Returns:
- the name
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
-