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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregatedSourceStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsRegion()The region authorized to collect aggregated data.static AggregatedSourceStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastErrorCode()The error code that Config returned when the source account aggregation last failed.StringlastErrorMessage()The message indicating that the source account aggregation failed due to an error.AggregatedSourceStatusTypelastUpdateStatus()Filters the last updated status type.StringlastUpdateStatusAsString()Filters the last updated status type.InstantlastUpdateTime()The time of the last update.List<SdkField<?>>sdkFields()static Class<? extends AggregatedSourceStatus.Builder>serializableBuilderClass()StringsourceId()The source account ID or an organization.AggregatedSourceTypesourceType()The source account or an organization.StringsourceTypeAsString()The source account or an organization.AggregatedSourceStatus.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
-
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,
sourceTypewill returnAggregatedSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The source account or an organization.
- See Also:
AggregatedSourceType
-
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,
sourceTypewill returnAggregatedSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The source account or an organization.
- See Also:
AggregatedSourceType
-
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,
lastUpdateStatuswill returnAggregatedSourceStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastUpdateStatusAsString().- 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:
AggregatedSourceStatusType
-
-
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,
lastUpdateStatuswill returnAggregatedSourceStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastUpdateStatusAsString().- 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:
AggregatedSourceStatusType
-
-
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()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregatedSourceStatus.Builder,AggregatedSourceStatus>
-
builder
public static AggregatedSourceStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregatedSourceStatus.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.
-
-