Class NodePropertiesSummary
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.NodePropertiesSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NodePropertiesSummary.Builder,NodePropertiesSummary>
@Generated("software.amazon.awssdk:codegen") public final class NodePropertiesSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodePropertiesSummary.Builder,NodePropertiesSummary>
An object that represents the properties of a node that's associated with a multi-node parallel job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNodePropertiesSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodePropertiesSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisMainNode()Specifies whether the current node is the main node for a multi-node parallel job.IntegernodeIndex()The node index for the node.IntegernumNodes()The number of nodes that are associated with a multi-node parallel job.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodePropertiesSummary.Builder>serializableBuilderClass()NodePropertiesSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
isMainNode
public final Boolean isMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.
- Returns:
- Specifies whether the current node is the main node for a multi-node parallel job.
-
numNodes
public final Integer numNodes()
The number of nodes that are associated with a multi-node parallel job.
- Returns:
- The number of nodes that are associated with a multi-node parallel job.
-
nodeIndex
public final Integer nodeIndex()
The node index for the node. Node index numbering begins at zero. This index is also available on the node with the
AWS_BATCH_JOB_NODE_INDEXenvironment variable.- Returns:
- The node index for the node. Node index numbering begins at zero. This index is also available on the
node with the
AWS_BATCH_JOB_NODE_INDEXenvironment variable.
-
toBuilder
public NodePropertiesSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NodePropertiesSummary.Builder,NodePropertiesSummary>
-
builder
public static NodePropertiesSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodePropertiesSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-