@Generated(value="software.amazon.awssdk:codegen") public final class ResourceDataSyncItem extends Object implements StructuredPojo, 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). |
Instant |
lastSyncTime()
The last time the configuration attempted to sync (UTC).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
ResourceDataSyncS3Destination |
s3Destination()
Configuration information for the target Amazon S3 bucket.
|
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 ResourceDataSyncItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
public static ResourceDataSyncItem.Builder builder()
public static Class<? extends ResourceDataSyncItem.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.