Class ResourceDataSyncItem
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ResourceDataSyncItem.Builder,
ResourceDataSyncItem>
Information about a resource data sync configuration, including its current status and last successful sync.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceDataSyncItem.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
The status reported by the last sync.final String
The status reported by the last sync.final Instant
The last time the sync operations returned a status ofSUCCESSFUL
(UTC).final String
The status message details reported by the last sync.final Instant
The last time the configuration attempted to sync (UTC).Configuration information for the target S3 bucket.static Class
<? extends ResourceDataSyncItem.Builder> final Instant
The date and time the configuration was created (UTC).final Instant
The date and time the resource data sync was changed.final String
syncName()
The name of the resource data sync.Information about the source where the data was synchronized.final String
syncType()
The type of resource data sync.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
syncName
The name of the resource data sync.
- Returns:
- The name of the resource data sync.
-
syncType
The type of resource data sync. If
SyncType
isSyncToDestination
, then the resource data sync synchronizes data to an S3 bucket. If theSyncType
isSyncFromSource
then the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.- Returns:
- The type of resource data sync. If
SyncType
isSyncToDestination
, then the resource data sync synchronizes data to an S3 bucket. If theSyncType
isSyncFromSource
then the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
-
syncSource
Information about the source where the data was synchronized.
- Returns:
- Information about the source where the data was synchronized.
-
s3Destination
Configuration information for the target S3 bucket.
- Returns:
- Configuration information for the target S3 bucket.
-
lastSyncTime
The last time the configuration attempted to sync (UTC).
- Returns:
- The last time the configuration attempted to sync (UTC).
-
lastSuccessfulSyncTime
The last time the sync operations returned a status of
SUCCESSFUL
(UTC).- Returns:
- The last time the sync operations returned a status of
SUCCESSFUL
(UTC).
-
syncLastModifiedTime
The date and time the resource data sync was changed.
- Returns:
- The date and time the resource data sync was changed.
-
lastStatus
The status reported by the last sync.
If the service returns an enum value that is not available in the current SDK version,
lastStatus
will returnLastResourceDataSyncStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlastStatusAsString()
.- Returns:
- The status reported by the last sync.
- See Also:
-
lastStatusAsString
The status reported by the last sync.
If the service returns an enum value that is not available in the current SDK version,
lastStatus
will returnLastResourceDataSyncStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlastStatusAsString()
.- Returns:
- The status reported by the last sync.
- See Also:
-
syncCreatedTime
The date and time the configuration was created (UTC).
- Returns:
- The date and time the configuration was created (UTC).
-
lastSyncStatusMessage
The status message details reported by the last sync.
- Returns:
- The status message details reported by the last sync.
-
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 interfaceToCopyableBuilder<ResourceDataSyncItem.Builder,
ResourceDataSyncItem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-