@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterNodeDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details of an instance (also called a node interchangeably) in a SageMaker HyperPod cluster.
| Constructor and Description |
|---|
ClusterNodeDetails() |
| Modifier and Type | Method and Description |
|---|---|
ClusterNodeDetails |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceGroupName()
The instance group name in which the instance is.
|
String |
getInstanceId()
The ID of the instance.
|
ClusterInstanceStatusDetails |
getInstanceStatus()
The status of the instance.
|
String |
getInstanceType()
The type of the instance.
|
Date |
getLaunchTime()
The time when the instance is launched.
|
ClusterLifeCycleConfig |
getLifeCycleConfig()
The LifeCycle configuration applied to the instance.
|
Integer |
getThreadsPerCore()
The number of threads per CPU core you specified under
CreateCluster. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInstanceGroupName(String instanceGroupName)
The instance group name in which the instance is.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setInstanceStatus(ClusterInstanceStatusDetails instanceStatus)
The status of the instance.
|
void |
setInstanceType(String instanceType)
The type of the instance.
|
void |
setLaunchTime(Date launchTime)
The time when the instance is launched.
|
void |
setLifeCycleConfig(ClusterLifeCycleConfig lifeCycleConfig)
The LifeCycle configuration applied to the instance.
|
void |
setThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core you specified under
CreateCluster. |
String |
toString()
Returns a string representation of this object.
|
ClusterNodeDetails |
withInstanceGroupName(String instanceGroupName)
The instance group name in which the instance is.
|
ClusterNodeDetails |
withInstanceId(String instanceId)
The ID of the instance.
|
ClusterNodeDetails |
withInstanceStatus(ClusterInstanceStatusDetails instanceStatus)
The status of the instance.
|
ClusterNodeDetails |
withInstanceType(ClusterInstanceType instanceType)
The type of the instance.
|
ClusterNodeDetails |
withInstanceType(String instanceType)
The type of the instance.
|
ClusterNodeDetails |
withLaunchTime(Date launchTime)
The time when the instance is launched.
|
ClusterNodeDetails |
withLifeCycleConfig(ClusterLifeCycleConfig lifeCycleConfig)
The LifeCycle configuration applied to the instance.
|
ClusterNodeDetails |
withThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core you specified under
CreateCluster. |
public void setInstanceGroupName(String instanceGroupName)
The instance group name in which the instance is.
instanceGroupName - The instance group name in which the instance is.public String getInstanceGroupName()
The instance group name in which the instance is.
public ClusterNodeDetails withInstanceGroupName(String instanceGroupName)
The instance group name in which the instance is.
instanceGroupName - The instance group name in which the instance is.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.public String getInstanceId()
The ID of the instance.
public ClusterNodeDetails withInstanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.public void setInstanceStatus(ClusterInstanceStatusDetails instanceStatus)
The status of the instance.
instanceStatus - The status of the instance.public ClusterInstanceStatusDetails getInstanceStatus()
The status of the instance.
public ClusterNodeDetails withInstanceStatus(ClusterInstanceStatusDetails instanceStatus)
The status of the instance.
instanceStatus - The status of the instance.public void setInstanceType(String instanceType)
The type of the instance.
instanceType - The type of the instance.ClusterInstanceTypepublic String getInstanceType()
The type of the instance.
ClusterInstanceTypepublic ClusterNodeDetails withInstanceType(String instanceType)
The type of the instance.
instanceType - The type of the instance.ClusterInstanceTypepublic ClusterNodeDetails withInstanceType(ClusterInstanceType instanceType)
The type of the instance.
instanceType - The type of the instance.ClusterInstanceTypepublic void setLaunchTime(Date launchTime)
The time when the instance is launched.
launchTime - The time when the instance is launched.public Date getLaunchTime()
The time when the instance is launched.
public ClusterNodeDetails withLaunchTime(Date launchTime)
The time when the instance is launched.
launchTime - The time when the instance is launched.public void setLifeCycleConfig(ClusterLifeCycleConfig lifeCycleConfig)
The LifeCycle configuration applied to the instance.
lifeCycleConfig - The LifeCycle configuration applied to the instance.public ClusterLifeCycleConfig getLifeCycleConfig()
The LifeCycle configuration applied to the instance.
public ClusterNodeDetails withLifeCycleConfig(ClusterLifeCycleConfig lifeCycleConfig)
The LifeCycle configuration applied to the instance.
lifeCycleConfig - The LifeCycle configuration applied to the instance.public void setThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core you specified under CreateCluster.
threadsPerCore - The number of threads per CPU core you specified under CreateCluster.public Integer getThreadsPerCore()
The number of threads per CPU core you specified under CreateCluster.
CreateCluster.public ClusterNodeDetails withThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core you specified under CreateCluster.
threadsPerCore - The number of threads per CPU core you specified under CreateCluster.public String toString()
toString in class ObjectObject.toString()public ClusterNodeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.