@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.
|
List<ClusterInstanceStorageConfig> |
getInstanceStorageConfigs()
The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
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.
|
ClusterInstancePlacement |
getPlacement()
The placement details of the SageMaker HyperPod cluster node.
|
String |
getPrivateDnsHostname()
The private DNS hostname of the SageMaker HyperPod cluster node.
|
String |
getPrivatePrimaryIp()
The private primary IP address of the SageMaker HyperPod cluster node.
|
Integer |
getThreadsPerCore()
The number of threads per CPU core you specified under
CreateCluster . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 |
setInstanceStorageConfigs(Collection<ClusterInstanceStorageConfig> instanceStorageConfigs)
The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
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 |
setPlacement(ClusterInstancePlacement placement)
The placement details of the SageMaker HyperPod cluster node.
|
void |
setPrivateDnsHostname(String privateDnsHostname)
The private DNS hostname of the SageMaker HyperPod cluster node.
|
void |
setPrivatePrimaryIp(String privatePrimaryIp)
The private primary IP address of the SageMaker HyperPod cluster node.
|
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 |
withInstanceStorageConfigs(ClusterInstanceStorageConfig... instanceStorageConfigs)
The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
ClusterNodeDetails |
withInstanceStorageConfigs(Collection<ClusterInstanceStorageConfig> instanceStorageConfigs)
The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
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 |
withPlacement(ClusterInstancePlacement placement)
The placement details of the SageMaker HyperPod cluster node.
|
ClusterNodeDetails |
withPrivateDnsHostname(String privateDnsHostname)
The private DNS hostname of the SageMaker HyperPod cluster node.
|
ClusterNodeDetails |
withPrivatePrimaryIp(String privatePrimaryIp)
The private primary IP address of the SageMaker HyperPod cluster node.
|
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.ClusterInstanceType
public String getInstanceType()
The type of the instance.
ClusterInstanceType
public ClusterNodeDetails withInstanceType(String instanceType)
The type of the instance.
instanceType
- The type of the instance.ClusterInstanceType
public ClusterNodeDetails withInstanceType(ClusterInstanceType instanceType)
The type of the instance.
instanceType
- The type of the instance.ClusterInstanceType
public 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 List<ClusterInstanceStorageConfig> getInstanceStorageConfigs()
The configurations of additional storage specified to the instance group where the instance (node) is launched.
public void setInstanceStorageConfigs(Collection<ClusterInstanceStorageConfig> instanceStorageConfigs)
The configurations of additional storage specified to the instance group where the instance (node) is launched.
instanceStorageConfigs
- The configurations of additional storage specified to the instance group where the instance (node) is
launched.public ClusterNodeDetails withInstanceStorageConfigs(ClusterInstanceStorageConfig... instanceStorageConfigs)
The configurations of additional storage specified to the instance group where the instance (node) is launched.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceStorageConfigs(java.util.Collection)
or
withInstanceStorageConfigs(java.util.Collection)
if you want to override the existing values.
instanceStorageConfigs
- The configurations of additional storage specified to the instance group where the instance (node) is
launched.public ClusterNodeDetails withInstanceStorageConfigs(Collection<ClusterInstanceStorageConfig> instanceStorageConfigs)
The configurations of additional storage specified to the instance group where the instance (node) is launched.
instanceStorageConfigs
- The configurations of additional storage specified to the instance group where the instance (node) is
launched.public void setPrivatePrimaryIp(String privatePrimaryIp)
The private primary IP address of the SageMaker HyperPod cluster node.
privatePrimaryIp
- The private primary IP address of the SageMaker HyperPod cluster node.public String getPrivatePrimaryIp()
The private primary IP address of the SageMaker HyperPod cluster node.
public ClusterNodeDetails withPrivatePrimaryIp(String privatePrimaryIp)
The private primary IP address of the SageMaker HyperPod cluster node.
privatePrimaryIp
- The private primary IP address of the SageMaker HyperPod cluster node.public void setPrivateDnsHostname(String privateDnsHostname)
The private DNS hostname of the SageMaker HyperPod cluster node.
privateDnsHostname
- The private DNS hostname of the SageMaker HyperPod cluster node.public String getPrivateDnsHostname()
The private DNS hostname of the SageMaker HyperPod cluster node.
public ClusterNodeDetails withPrivateDnsHostname(String privateDnsHostname)
The private DNS hostname of the SageMaker HyperPod cluster node.
privateDnsHostname
- The private DNS hostname of the SageMaker HyperPod cluster node.public void setPlacement(ClusterInstancePlacement placement)
The placement details of the SageMaker HyperPod cluster node.
placement
- The placement details of the SageMaker HyperPod cluster node.public ClusterInstancePlacement getPlacement()
The placement details of the SageMaker HyperPod cluster node.
public ClusterNodeDetails withPlacement(ClusterInstancePlacement placement)
The placement details of the SageMaker HyperPod cluster node.
placement
- The placement details of the SageMaker HyperPod cluster node.public String toString()
toString
in class Object
Object.toString()
public ClusterNodeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.