@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterNodeSummary extends Object implements Serializable, Cloneable, StructuredPojo
Lists a summary of the properties of an instance (also called a node interchangeably) of a SageMaker HyperPod cluster.
Constructor and Description |
---|
ClusterNodeSummary() |
Modifier and Type | Method and Description |
---|---|
ClusterNodeSummary |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceGroupName()
The name of the instance group 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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceGroupName(String instanceGroupName)
The name of the instance group 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.
|
String |
toString()
Returns a string representation of this object.
|
ClusterNodeSummary |
withInstanceGroupName(String instanceGroupName)
The name of the instance group in which the instance is.
|
ClusterNodeSummary |
withInstanceId(String instanceId)
The ID of the instance.
|
ClusterNodeSummary |
withInstanceStatus(ClusterInstanceStatusDetails instanceStatus)
The status of the instance.
|
ClusterNodeSummary |
withInstanceType(ClusterInstanceType instanceType)
The type of the instance.
|
ClusterNodeSummary |
withInstanceType(String instanceType)
The type of the instance.
|
ClusterNodeSummary |
withLaunchTime(Date launchTime)
The time when the instance is launched.
|
public void setInstanceGroupName(String instanceGroupName)
The name of the instance group in which the instance is.
instanceGroupName
- The name of the instance group in which the instance is.public String getInstanceGroupName()
The name of the instance group in which the instance is.
public ClusterNodeSummary withInstanceGroupName(String instanceGroupName)
The name of the instance group in which the instance is.
instanceGroupName
- The name of the instance group 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 ClusterNodeSummary withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID 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 ClusterNodeSummary withInstanceType(String instanceType)
The type of the instance.
instanceType
- The type of the instance.ClusterInstanceType
public ClusterNodeSummary 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 ClusterNodeSummary withLaunchTime(Date launchTime)
The time when the instance is launched.
launchTime
- The time when the instance is launched.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 ClusterNodeSummary withInstanceStatus(ClusterInstanceStatusDetails instanceStatus)
The status of the instance.
instanceStatus
- The status of the instance.public String toString()
toString
in class Object
Object.toString()
public ClusterNodeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.