Interface ResourceDataSyncItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDataSyncItem.Builder,
,ResourceDataSyncItem> SdkBuilder<ResourceDataSyncItem.Builder,
,ResourceDataSyncItem> SdkPojo
- Enclosing class:
ResourceDataSyncItem
-
Method Summary
Modifier and TypeMethodDescriptionlastStatus
(String lastStatus) The status reported by the last sync.lastStatus
(LastResourceDataSyncStatus lastStatus) The status reported by the last sync.lastSuccessfulSyncTime
(Instant lastSuccessfulSyncTime) The last time the sync operations returned a status ofSUCCESSFUL
(UTC).lastSyncStatusMessage
(String lastSyncStatusMessage) The status message details reported by the last sync.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 S3 bucket.s3Destination
(ResourceDataSyncS3Destination s3Destination) Configuration information for the target S3 bucket.syncCreatedTime
(Instant syncCreatedTime) The date and time the configuration was created (UTC).syncLastModifiedTime
(Instant syncLastModifiedTime) The date and time the resource data sync was changed.The name of the resource data sync.default ResourceDataSyncItem.Builder
syncSource
(Consumer<ResourceDataSyncSourceWithState.Builder> syncSource) Information about the source where the data was synchronized.syncSource
(ResourceDataSyncSourceWithState syncSource) Information about the source where the data was synchronized.The type of resource data sync.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
syncName
The name of the resource data sync.
- Parameters:
syncName
- The name of the resource data sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
syncType
- The type of resource data sync. IfSyncType
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:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
Information about the source where the data was synchronized.
- Parameters:
syncSource
- Information about the source where the data was synchronized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
default ResourceDataSyncItem.Builder syncSource(Consumer<ResourceDataSyncSourceWithState.Builder> syncSource) Information about the source where the data was synchronized.
This is a convenience method that creates an instance of theResourceDataSyncSourceWithState.Builder
avoiding the need to create one manually viaResourceDataSyncSourceWithState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosyncSource(ResourceDataSyncSourceWithState)
.- Parameters:
syncSource
- a consumer that will call methods onResourceDataSyncSourceWithState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Destination
Configuration information for the target S3 bucket.
- Parameters:
s3Destination
- Configuration information for the target S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
default ResourceDataSyncItem.Builder s3Destination(Consumer<ResourceDataSyncS3Destination.Builder> s3Destination) Configuration information for the target S3 bucket.
This is a convenience method that creates an instance of theResourceDataSyncS3Destination.Builder
avoiding the need to create one manually viaResourceDataSyncS3Destination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Destination(ResourceDataSyncS3Destination)
.- Parameters:
s3Destination
- a consumer that will call methods onResourceDataSyncS3Destination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastSyncTime
The last time the configuration attempted to sync (UTC).
- Parameters:
lastSyncTime
- The last time the configuration attempted to sync (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulSyncTime
The last time the sync operations returned a status of
SUCCESSFUL
(UTC).- Parameters:
lastSuccessfulSyncTime
- The last time the sync operations returned a status ofSUCCESSFUL
(UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncLastModifiedTime
The date and time the resource data sync was changed.
- Parameters:
syncLastModifiedTime
- The date and time the resource data sync was changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastStatus
The status reported by the last sync.
- Parameters:
lastStatus
- The status reported by the last sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastStatus
The status reported by the last sync.
- Parameters:
lastStatus
- The status reported by the last sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
syncCreatedTime
The date and time the configuration was created (UTC).
- Parameters:
syncCreatedTime
- The date and time the configuration was created (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSyncStatusMessage
The status message details reported by the last sync.
- Parameters:
lastSyncStatusMessage
- The status message details reported by the last sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-