Interface ResourceDataSyncItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
,SdkBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
,SdkPojo
- Enclosing class:
- ResourceDataSyncItem
public static interface ResourceDataSyncItem.Builder extends SdkPojo, CopyableBuilder<ResourceDataSyncItem.Builder,ResourceDataSyncItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceDataSyncItem.Builder
lastStatus(String lastStatus)
The status reported by the last sync.ResourceDataSyncItem.Builder
lastStatus(LastResourceDataSyncStatus lastStatus)
The status reported by the last sync.ResourceDataSyncItem.Builder
lastSuccessfulSyncTime(Instant lastSuccessfulSyncTime)
The last time the sync operations returned a status ofSUCCESSFUL
(UTC).ResourceDataSyncItem.Builder
lastSyncStatusMessage(String lastSyncStatusMessage)
The status message details reported by the last sync.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 S3 bucket.ResourceDataSyncItem.Builder
s3Destination(ResourceDataSyncS3Destination s3Destination)
Configuration information for the target S3 bucket.ResourceDataSyncItem.Builder
syncCreatedTime(Instant syncCreatedTime)
The date and time the configuration was created (UTC).ResourceDataSyncItem.Builder
syncLastModifiedTime(Instant syncLastModifiedTime)
The date and time the resource data sync was changed.ResourceDataSyncItem.Builder
syncName(String syncName)
The name of the resource data sync.default ResourceDataSyncItem.Builder
syncSource(Consumer<ResourceDataSyncSourceWithState.Builder> syncSource)
Information about the source where the data was synchronized.ResourceDataSyncItem.Builder
syncSource(ResourceDataSyncSourceWithState syncSource)
Information about the source where the data was synchronized.ResourceDataSyncItem.Builder
syncType(String syncType)
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 Detail
-
syncName
ResourceDataSyncItem.Builder syncName(String 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
ResourceDataSyncItem.Builder syncType(String 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
ResourceDataSyncItem.Builder syncSource(ResourceDataSyncSourceWithState 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:
syncSource(ResourceDataSyncSourceWithState)
-
s3Destination
ResourceDataSyncItem.Builder s3Destination(ResourceDataSyncS3Destination 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:
s3Destination(ResourceDataSyncS3Destination)
-
lastSyncTime
ResourceDataSyncItem.Builder lastSyncTime(Instant 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
ResourceDataSyncItem.Builder lastSuccessfulSyncTime(Instant 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
ResourceDataSyncItem.Builder syncLastModifiedTime(Instant 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
ResourceDataSyncItem.Builder lastStatus(String 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:
LastResourceDataSyncStatus
,LastResourceDataSyncStatus
-
lastStatus
ResourceDataSyncItem.Builder lastStatus(LastResourceDataSyncStatus 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:
LastResourceDataSyncStatus
,LastResourceDataSyncStatus
-
syncCreatedTime
ResourceDataSyncItem.Builder syncCreatedTime(Instant 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
ResourceDataSyncItem.Builder lastSyncStatusMessage(String 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.
-
-