Interface SyncJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SyncJobSummary.Builder,
,SyncJobSummary> SdkBuilder<SyncJobSummary.Builder,
,SyncJobSummary> SdkPojo
- Enclosing class:
SyncJobSummary
public static interface SyncJobSummary.Builder
extends SdkPojo, CopyableBuilder<SyncJobSummary.Builder,SyncJobSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe SyncJob summary ARN.creationDateTime
(Instant creationDateTime) The creation date and time.default SyncJobSummary.Builder
status
(Consumer<SyncJobStatus.Builder> status) The SyncJob summaries status.status
(SyncJobStatus status) The SyncJob summaries status.syncSource
(String syncSource) The sync source.updateDateTime
(Instant updateDateTime) The update date and time.workspaceId
(String workspaceId) The ID of the workspace that contains the sync job.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
-
arn
The SyncJob summary ARN.
- Parameters:
arn
- The SyncJob summary ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace that contains the sync job.
- Parameters:
workspaceId
- The ID of the workspace that contains the sync job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSource
The sync source.
- Parameters:
syncSource
- The sync source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The SyncJob summaries status.
- Parameters:
status
- The SyncJob summaries status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The SyncJob summaries status.
This is a convenience method that creates an instance of theSyncJobStatus.Builder
avoiding the need to create one manually viaSyncJobStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(SyncJobStatus)
.- Parameters:
status
- a consumer that will call methods onSyncJobStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDateTime
The creation date and time.
- Parameters:
creationDateTime
- The creation date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDateTime
The update date and time.
- Parameters:
updateDateTime
- The update date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-