Interface SyncBlockerSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SyncBlockerSummary.Builder,
,SyncBlockerSummary> SdkBuilder<SyncBlockerSummary.Builder,
,SyncBlockerSummary> SdkPojo
- Enclosing class:
SyncBlockerSummary
public static interface SyncBlockerSummary.Builder
extends SdkPojo, CopyableBuilder<SyncBlockerSummary.Builder,SyncBlockerSummary>
-
Method Summary
Modifier and TypeMethodDescriptionlatestBlockers
(Collection<SyncBlocker> latestBlockers) The latest events for a sync blocker summary.latestBlockers
(Consumer<SyncBlocker.Builder>... latestBlockers) The latest events for a sync blocker summary.latestBlockers
(SyncBlocker... latestBlockers) The latest events for a sync blocker summary.parentResourceName
(String parentResourceName) The parent resource name for a sync blocker summary.resourceName
(String resourceName) The resource name for sync blocker summary.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
-
resourceName
The resource name for sync blocker summary.
- Parameters:
resourceName
- The resource name for sync blocker summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentResourceName
The parent resource name for a sync blocker summary.
- Parameters:
parentResourceName
- The parent resource name for a sync blocker summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestBlockers
The latest events for a sync blocker summary.
- Parameters:
latestBlockers
- The latest events for a sync blocker summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestBlockers
The latest events for a sync blocker summary.
- Parameters:
latestBlockers
- The latest events for a sync blocker summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestBlockers
The latest events for a sync blocker summary.
This is a convenience method that creates an instance of theSyncBlocker.Builder
avoiding the need to create one manually viaSyncBlocker.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestBlockers(List<SyncBlocker>)
.- Parameters:
latestBlockers
- a consumer that will call methods onSyncBlocker.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-