Class NodeSummary
- java.lang.Object
-
- software.amazon.awssdk.services.managedblockchain.model.NodeSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NodeSummary.Builder,NodeSummary>
@Generated("software.amazon.awssdk:codegen") public final class NodeSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeSummary.Builder,NodeSummary>
A summary of configuration properties for a node.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNodeSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the node.StringavailabilityZone()The Availability Zone in which the node exists.static NodeSummary.Builderbuilder()InstantcreationDate()The date and time that the node was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the node.StringinstanceType()The EC2 instance type for the node.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodeSummary.Builder>serializableBuilderClass()NodeStatusstatus()The status of the node.StringstatusAsString()The status of the node.NodeSummary.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
-
id
public final String id()
The unique identifier of the node.
- Returns:
- The unique identifier of the node.
-
status
public final NodeStatus status()
The status of the node.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnNodeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the node.
- See Also:
NodeStatus
-
statusAsString
public final String statusAsString()
The status of the node.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnNodeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the node.
- See Also:
NodeStatus
-
creationDate
public final Instant creationDate()
The date and time that the node was created.
- Returns:
- The date and time that the node was created.
-
availabilityZone
public final String availabilityZone()
The Availability Zone in which the node exists.
- Returns:
- The Availability Zone in which the node exists.
-
instanceType
public final String instanceType()
The EC2 instance type for the node.
- Returns:
- The EC2 instance type for the node.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
-
toBuilder
public NodeSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NodeSummary.Builder,NodeSummary>
-
builder
public static NodeSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeSummary.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
-
-