Class MultiAvailabilityZoneStatusDetails

java.lang.Object
software.amazon.awssdk.services.ec2.model.MultiAvailabilityZoneStatusDetails
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<MultiAvailabilityZoneStatusDetails.Builder,MultiAvailabilityZoneStatusDetails>

@Generated("software.amazon.awssdk:codegen") public final class MultiAvailabilityZoneStatusDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MultiAvailabilityZoneStatusDetails.Builder,MultiAvailabilityZoneStatusDetails>

The status information related to a Multi-Availability Zone volume.

See Also:
  • Method Details

    • replicationDataState

      public final ReplicationDataState 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, replicationDataState will return ReplicationDataState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from replicationDataStateAsString().

      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

      public final String 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, replicationDataState will return ReplicationDataState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from replicationDataStateAsString().

      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

      public final FailoverReadiness 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, failoverReadiness will return FailoverReadiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from failoverReadinessAsString().

      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

      public final String 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, failoverReadiness will return FailoverReadiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from failoverReadinessAsString().

      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

      public final Integer catchupProgress()

      When replicationDataState is catching-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 replicationDataState is catching-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

      public final Long catchupTotalBytes()

      When replicationDataState is catching-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. Use catchupProgress to monitor how much has been replicated.

      Returns:
      When replicationDataState is catching-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. Use catchupProgress to monitor how much has been replicated.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<MultiAvailabilityZoneStatusDetails.Builder,MultiAvailabilityZoneStatusDetails>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends MultiAvailabilityZoneStatusDetails.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.