Class AggregatedSourceStatus

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

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

The current sync status between the source and the aggregator account.

See Also:
  • Method Details

    • sourceId

      public final String sourceId()

      The source account ID or an organization.

      Returns:
      The source account ID or an organization.
    • sourceType

      public final AggregatedSourceType sourceType()

      The source account or an organization.

      If the service returns an enum value that is not available in the current SDK version, sourceType will return AggregatedSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sourceTypeAsString().

      Returns:
      The source account or an organization.
      See Also:
    • sourceTypeAsString

      public final String sourceTypeAsString()

      The source account or an organization.

      If the service returns an enum value that is not available in the current SDK version, sourceType will return AggregatedSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sourceTypeAsString().

      Returns:
      The source account or an organization.
      See Also:
    • awsRegion

      public final String awsRegion()

      The region authorized to collect aggregated data.

      Returns:
      The region authorized to collect aggregated data.
    • lastUpdateStatus

      public final AggregatedSourceStatusType lastUpdateStatus()

      Filters the last updated status type.

      • Valid value FAILED indicates errors while moving data.

      • Valid value SUCCEEDED indicates the data was successfully moved.

      • Valid value OUTDATED indicates the data is not the most recent.

      If the service returns an enum value that is not available in the current SDK version, lastUpdateStatus will return AggregatedSourceStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from lastUpdateStatusAsString().

      Returns:
      Filters the last updated status type.

      • Valid value FAILED indicates errors while moving data.

      • Valid value SUCCEEDED indicates the data was successfully moved.

      • Valid value OUTDATED indicates the data is not the most recent.

      See Also:
    • lastUpdateStatusAsString

      public final String lastUpdateStatusAsString()

      Filters the last updated status type.

      • Valid value FAILED indicates errors while moving data.

      • Valid value SUCCEEDED indicates the data was successfully moved.

      • Valid value OUTDATED indicates the data is not the most recent.

      If the service returns an enum value that is not available in the current SDK version, lastUpdateStatus will return AggregatedSourceStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from lastUpdateStatusAsString().

      Returns:
      Filters the last updated status type.

      • Valid value FAILED indicates errors while moving data.

      • Valid value SUCCEEDED indicates the data was successfully moved.

      • Valid value OUTDATED indicates the data is not the most recent.

      See Also:
    • lastUpdateTime

      public final Instant lastUpdateTime()

      The time of the last update.

      Returns:
      The time of the last update.
    • lastErrorCode

      public final String lastErrorCode()

      The error code that Config returned when the source account aggregation last failed.

      Returns:
      The error code that Config returned when the source account aggregation last failed.
    • lastErrorMessage

      public final String lastErrorMessage()

      The message indicating that the source account aggregation failed due to an error.

      Returns:
      The message indicating that the source account aggregation failed due to an error.
    • toBuilder

      public AggregatedSourceStatus.Builder 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<AggregatedSourceStatus.Builder,AggregatedSourceStatus>
      Returns:
      a builder for type T
    • builder

      public static AggregatedSourceStatus.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AggregatedSourceStatus.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.