@Generated(value="software.amazon.awssdk:codegen") public final class ResourceDataSyncItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
Information about a resource data sync configuration, including its current status and last successful sync.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceDataSyncItem.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceDataSyncItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LastResourceDataSyncStatus |
lastStatus()
The status reported by the last sync.
|
String |
lastStatusAsString()
The status reported by the last sync.
|
Instant |
lastSuccessfulSyncTime()
The last time the sync operations returned a status of
SUCCESSFUL (UTC). |
String |
lastSyncStatusMessage()
The status message details reported by the last sync.
|
Instant |
lastSyncTime()
The last time the configuration attempted to sync (UTC).
|
ResourceDataSyncS3Destination |
s3Destination()
Configuration information for the target S3 bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceDataSyncItem.Builder> |
serializableBuilderClass() |
Instant |
syncCreatedTime()
The date and time the configuration was created (UTC).
|
Instant |
syncLastModifiedTime()
The date and time the resource data sync was changed.
|
String |
syncName()
The name of the resource data sync.
|
ResourceDataSyncSourceWithState |
syncSource()
Information about the source where the data was synchronized.
|
String |
syncType()
The type of resource data sync.
|
ResourceDataSyncItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String syncName()
The name of the resource data sync.
public final String syncType()
The type of resource data sync. If SyncType
is SyncToDestination
, then the resource
data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the
resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
SyncType
is SyncToDestination
, then the
resource data sync synchronizes data to an S3 bucket. If the SyncType
is
SyncFromSource
then the resource data sync synchronizes data from Organizations or from
multiple Amazon Web Services Regions.public final ResourceDataSyncSourceWithState syncSource()
Information about the source where the data was synchronized.
public final ResourceDataSyncS3Destination s3Destination()
Configuration information for the target S3 bucket.
public final Instant lastSyncTime()
The last time the configuration attempted to sync (UTC).
public final Instant lastSuccessfulSyncTime()
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
SUCCESSFUL
(UTC).public final Instant syncLastModifiedTime()
The date and time the resource data sync was changed.
public final LastResourceDataSyncStatus 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
return LastResourceDataSyncStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from lastStatusAsString()
.
LastResourceDataSyncStatus
public final String 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
return LastResourceDataSyncStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from lastStatusAsString()
.
LastResourceDataSyncStatus
public final Instant syncCreatedTime()
The date and time the configuration was created (UTC).
public final String lastSyncStatusMessage()
The status message details reported by the last sync.
public ResourceDataSyncItem.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
public static ResourceDataSyncItem.Builder builder()
public static Class<? extends ResourceDataSyncItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.