Class ReservedNodeExchangeStatus
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.ReservedNodeExchangeStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedNodeExchangeStatus.Builder,ReservedNodeExchangeStatus>
@Generated("software.amazon.awssdk:codegen") public final class ReservedNodeExchangeStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservedNodeExchangeStatus.Builder,ReservedNodeExchangeStatus>
Reserved-node status details, such as the source reserved-node identifier, the target reserved-node identifier, the node type, the node count, and other details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservedNodeExchangeStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReservedNodeExchangeStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantrequestTime()A date and time that indicate when the reserved-node exchange was requested.StringreservedNodeExchangeRequestId()The identifier of the reserved-node exchange request.List<SdkField<?>>sdkFields()static Class<? extends ReservedNodeExchangeStatus.Builder>serializableBuilderClass()IntegersourceReservedNodeCount()The source reserved-node count in the cluster.StringsourceReservedNodeId()The identifier of the source reserved node.StringsourceReservedNodeType()The source reserved-node type, for example ra3.4xlarge.ReservedNodeExchangeStatusTypestatus()The status of the reserved-node exchange request.StringstatusAsString()The status of the reserved-node exchange request.IntegertargetReservedNodeCount()The count of target reserved nodes in the cluster.StringtargetReservedNodeOfferingId()The identifier of the target reserved node offering.StringtargetReservedNodeType()The node type of the target reserved node, for example ra3.4xlarge.ReservedNodeExchangeStatus.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
-
reservedNodeExchangeRequestId
public final String reservedNodeExchangeRequestId()
The identifier of the reserved-node exchange request.
- Returns:
- The identifier of the reserved-node exchange request.
-
status
public final ReservedNodeExchangeStatusType status()
The status of the reserved-node exchange request. Statuses include in-progress and requested.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReservedNodeExchangeStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the reserved-node exchange request. Statuses include in-progress and requested.
- See Also:
ReservedNodeExchangeStatusType
-
statusAsString
public final String statusAsString()
The status of the reserved-node exchange request. Statuses include in-progress and requested.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReservedNodeExchangeStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the reserved-node exchange request. Statuses include in-progress and requested.
- See Also:
ReservedNodeExchangeStatusType
-
requestTime
public final Instant requestTime()
A date and time that indicate when the reserved-node exchange was requested.
- Returns:
- A date and time that indicate when the reserved-node exchange was requested.
-
sourceReservedNodeId
public final String sourceReservedNodeId()
The identifier of the source reserved node.
- Returns:
- The identifier of the source reserved node.
-
sourceReservedNodeType
public final String sourceReservedNodeType()
The source reserved-node type, for example ra3.4xlarge.
- Returns:
- The source reserved-node type, for example ra3.4xlarge.
-
sourceReservedNodeCount
public final Integer sourceReservedNodeCount()
The source reserved-node count in the cluster.
- Returns:
- The source reserved-node count in the cluster.
-
targetReservedNodeOfferingId
public final String targetReservedNodeOfferingId()
The identifier of the target reserved node offering.
- Returns:
- The identifier of the target reserved node offering.
-
targetReservedNodeType
public final String targetReservedNodeType()
The node type of the target reserved node, for example ra3.4xlarge.
- Returns:
- The node type of the target reserved node, for example ra3.4xlarge.
-
targetReservedNodeCount
public final Integer targetReservedNodeCount()
The count of target reserved nodes in the cluster.
- Returns:
- The count of target reserved nodes in the cluster.
-
toBuilder
public ReservedNodeExchangeStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedNodeExchangeStatus.Builder,ReservedNodeExchangeStatus>
-
builder
public static ReservedNodeExchangeStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservedNodeExchangeStatus.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.
-
-