Class MultiAvailabilityZoneStatusDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MultiAvailabilityZoneStatusDetails.Builder,MultiAvailabilityZoneStatusDetails>
The status information related to a Multi-Availability Zone volume.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final IntegerWhenreplicationDataStateiscatching-up, the data that was written to the active replica while the volume was out-of-sync is being replicated to the standby replica.final LongWhenreplicationDataStateiscatching-up, the total number of bytes that were written to the active replica while the volume was out-of-sync and must be replicated to the standby replica.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FailoverReadinessThe readiness of the volume to fail over to its standby Availability Zone.final StringThe readiness of the volume to fail over to its standby Availability Zone.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ReplicationDataStateThe state of data replication between the active and standby replicas of the volume.final StringThe state of data replication between the active and standby replicas of the volume.static Class<? extends MultiAvailabilityZoneStatusDetails.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
replicationDataState
The state of data replication between the active and standby replicas of the volume.
Valid values:
-
in-sync: The standby replica maintains the same data as the active replica. -
catching-up: Replication has resumed and is catching up on data that was written to the active replica while the volume was out-of-sync. -
out-of-sync: Replication has stopped and the volume was out-of-sync. -
insufficient-data: There is not enough data to determine the replication data state.
If the service returns an enum value that is not available in the current SDK version,
replicationDataStatewill returnReplicationDataState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreplicationDataStateAsString().- Returns:
- The state of data replication between the active and standby replicas of the volume.
Valid values:
-
in-sync: The standby replica maintains the same data as the active replica. -
catching-up: Replication has resumed and is catching up on data that was written to the active replica while the volume was out-of-sync. -
out-of-sync: Replication has stopped and the volume was out-of-sync. -
insufficient-data: There is not enough data to determine the replication data state.
-
- See Also:
-
-
replicationDataStateAsString
The state of data replication between the active and standby replicas of the volume.
Valid values:
-
in-sync: The standby replica maintains the same data as the active replica. -
catching-up: Replication has resumed and is catching up on data that was written to the active replica while the volume was out-of-sync. -
out-of-sync: Replication has stopped and the volume was out-of-sync. -
insufficient-data: There is not enough data to determine the replication data state.
If the service returns an enum value that is not available in the current SDK version,
replicationDataStatewill returnReplicationDataState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreplicationDataStateAsString().- Returns:
- The state of data replication between the active and standby replicas of the volume.
Valid values:
-
in-sync: The standby replica maintains the same data as the active replica. -
catching-up: Replication has resumed and is catching up on data that was written to the active replica while the volume was out-of-sync. -
out-of-sync: Replication has stopped and the volume was out-of-sync. -
insufficient-data: There is not enough data to determine the replication data state.
-
- See Also:
-
-
failoverReadiness
The readiness of the volume to fail over to its standby Availability Zone. Failover readiness reflects both the health of the standby Availability Zone infrastructure and the data replication state. This value is based on the most recent metric view and might not reflect the real-time state. If you need to fail over, call
FailoverVolumes, which performs a real-time readiness check.Valid values:
-
ready: The volume can fail over to its standby Availability Zone. -
not-ready: The volume cannot fail over at this time. -
insufficient-data: There is not enough data to determine failover readiness.
If the service returns an enum value that is not available in the current SDK version,
failoverReadinesswill returnFailoverReadiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailoverReadinessAsString().- Returns:
- The readiness of the volume to fail over to its standby Availability Zone. Failover readiness reflects
both the health of the standby Availability Zone infrastructure and the data replication state. This
value is based on the most recent metric view and might not reflect the real-time state. If you need to
fail over, call
FailoverVolumes, which performs a real-time readiness check.Valid values:
-
ready: The volume can fail over to its standby Availability Zone. -
not-ready: The volume cannot fail over at this time. -
insufficient-data: There is not enough data to determine failover readiness.
-
- See Also:
-
-
failoverReadinessAsString
The readiness of the volume to fail over to its standby Availability Zone. Failover readiness reflects both the health of the standby Availability Zone infrastructure and the data replication state. This value is based on the most recent metric view and might not reflect the real-time state. If you need to fail over, call
FailoverVolumes, which performs a real-time readiness check.Valid values:
-
ready: The volume can fail over to its standby Availability Zone. -
not-ready: The volume cannot fail over at this time. -
insufficient-data: There is not enough data to determine failover readiness.
If the service returns an enum value that is not available in the current SDK version,
failoverReadinesswill returnFailoverReadiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailoverReadinessAsString().- Returns:
- The readiness of the volume to fail over to its standby Availability Zone. Failover readiness reflects
both the health of the standby Availability Zone infrastructure and the data replication state. This
value is based on the most recent metric view and might not reflect the real-time state. If you need to
fail over, call
FailoverVolumes, which performs a real-time readiness check.Valid values:
-
ready: The volume can fail over to its standby Availability Zone. -
not-ready: The volume cannot fail over at this time. -
insufficient-data: There is not enough data to determine failover readiness.
-
- See Also:
-
-
catchupProgress
When
replicationDataStateiscatching-up, the data that was written to the active replica while the volume was out-of-sync is being replicated to the standby replica. This value is the percentage of that data that has been replicated, from 0 to 100.- Returns:
- When
replicationDataStateiscatching-up, the data that was written to the active replica while the volume was out-of-sync is being replicated to the standby replica. This value is the percentage of that data that has been replicated, from 0 to 100.
-
catchupTotalBytes
When
replicationDataStateiscatching-up, the total number of bytes that were written to the active replica while the volume was out-of-sync and must be replicated to the standby replica. This value does not change during the catch-up. UsecatchupProgressto monitor how much has been replicated.- Returns:
- When
replicationDataStateiscatching-up, the total number of bytes that were written to the active replica while the volume was out-of-sync and must be replicated to the standby replica. This value does not change during the catch-up. UsecatchupProgressto monitor how much has been replicated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MultiAvailabilityZoneStatusDetails.Builder,MultiAvailabilityZoneStatusDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends MultiAvailabilityZoneStatusDetails.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-