public static interface ResourceDataSyncItem.Builder extends CopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
Modifier and Type | Method and Description |
---|---|
ResourceDataSyncItem.Builder |
lastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.
|
ResourceDataSyncItem.Builder |
lastStatus(String lastStatus)
The status reported by the last sync.
|
ResourceDataSyncItem.Builder |
lastSuccessfulSyncTime(Instant lastSuccessfulSyncTime)
The last time the sync operations returned a status of
SUCCESSFUL (UTC). |
ResourceDataSyncItem.Builder |
lastSyncTime(Instant lastSyncTime)
The last time the configuration attempted to sync (UTC).
|
default ResourceDataSyncItem.Builder |
s3Destination(Consumer<ResourceDataSyncS3Destination.Builder> s3Destination)
Configuration information for the target Amazon S3 bucket.
|
ResourceDataSyncItem.Builder |
s3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target Amazon S3 bucket.
|
ResourceDataSyncItem.Builder |
syncCreatedTime(Instant syncCreatedTime)
The date and time the configuration was created (UTC).
|
ResourceDataSyncItem.Builder |
syncName(String syncName)
The name of the Resource Data Sync.
|
copy
applyMutation, build
ResourceDataSyncItem.Builder syncName(String syncName)
The name of the Resource Data Sync.
syncName
- The name of the Resource Data Sync.ResourceDataSyncItem.Builder s3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target Amazon S3 bucket.
s3Destination
- Configuration information for the target Amazon S3 bucket.default ResourceDataSyncItem.Builder s3Destination(Consumer<ResourceDataSyncS3Destination.Builder> s3Destination)
Configuration information for the target Amazon S3 bucket.
This is a convenience that creates an instance of theResourceDataSyncS3Destination.Builder
avoiding
the need to create one manually via ResourceDataSyncS3Destination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to s3Destination(ResourceDataSyncS3Destination)
.s3Destination
- a consumer that will call methods on ResourceDataSyncS3Destination.Builder
s3Destination(ResourceDataSyncS3Destination)
ResourceDataSyncItem.Builder lastSyncTime(Instant lastSyncTime)
The last time the configuration attempted to sync (UTC).
lastSyncTime
- The last time the configuration attempted to sync (UTC).ResourceDataSyncItem.Builder lastSuccessfulSyncTime(Instant lastSuccessfulSyncTime)
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
lastSuccessfulSyncTime
- The last time the sync operations returned a status of SUCCESSFUL
(UTC).ResourceDataSyncItem.Builder lastStatus(String lastStatus)
The status reported by the last sync.
lastStatus
- The status reported by the last sync.LastResourceDataSyncStatus
,
LastResourceDataSyncStatus
ResourceDataSyncItem.Builder lastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.
lastStatus
- The status reported by the last sync.LastResourceDataSyncStatus
,
LastResourceDataSyncStatus
ResourceDataSyncItem.Builder syncCreatedTime(Instant syncCreatedTime)
The date and time the configuration was created (UTC).
syncCreatedTime
- The date and time the configuration was created (UTC).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.