@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) |
<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 Amazon S3 bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceDataSyncItem.Builder> |
serializableBuilderClass() |
Instant |
syncCreatedTime()
The date and time the configuration was created (UTC).
|
String |
syncName()
The name of the Resource Data Sync.
|
ResourceDataSyncItem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String syncName()
The name of the Resource Data Sync.
public ResourceDataSyncS3Destination s3Destination()
Configuration information for the target Amazon S3 bucket.
public Instant lastSyncTime()
The last time the configuration attempted to sync (UTC).
public Instant lastSuccessfulSyncTime()
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
SUCCESSFUL
(UTC).public 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 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 Instant syncCreatedTime()
The date and time the configuration was created (UTC).
public String lastSyncStatusMessage()
The status message details reported by the last sync.
public ResourceDataSyncItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
public static ResourceDataSyncItem.Builder builder()
public static Class<? extends ResourceDataSyncItem.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.