Interface SyncBlocker.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SyncBlocker.Builder,
,SyncBlocker> SdkBuilder<SyncBlocker.Builder,
,SyncBlocker> SdkPojo
- Enclosing class:
SyncBlocker
public static interface SyncBlocker.Builder
extends SdkPojo, CopyableBuilder<SyncBlocker.Builder,SyncBlocker>
-
Method Summary
Modifier and TypeMethodDescriptioncontexts
(Collection<SyncBlockerContext> contexts) The contexts for the sync blocker.contexts
(Consumer<SyncBlockerContext.Builder>... contexts) The contexts for the sync blocker.contexts
(SyncBlockerContext... contexts) The contexts for the sync blocker.The time when the sync blocker was created.createdReason
(String createdReason) The reason why the sync blocker was created.The ID of the sync blocker.resolvedAt
(Instant resolvedAt) The time the sync blocker was resolved.resolvedReason
(String resolvedReason) The reason the sync blocker was resolved.The status of the sync blocker.status
(BlockerStatus status) The status of the sync blocker.The type of the sync blocker.type
(BlockerType type) The type of the sync blocker.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
-
contexts
The contexts for the sync blocker.
- Parameters:
contexts
- The contexts for the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
The contexts for the sync blocker.
- Parameters:
contexts
- The contexts for the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
The contexts for the sync blocker.
This is a convenience method that creates an instance of theSyncBlockerContext.Builder
avoiding the need to create one manually viaSyncBlockerContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontexts(List<SyncBlockerContext>)
.- Parameters:
contexts
- a consumer that will call methods onSyncBlockerContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when the sync blocker was created.
- Parameters:
createdAt
- The time when the sync blocker was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdReason
The reason why the sync blocker was created.
- Parameters:
createdReason
- The reason why the sync blocker was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the sync blocker.
- Parameters:
id
- The ID of the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedAt
The time the sync blocker was resolved.
- Parameters:
resolvedAt
- The time the sync blocker was resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedReason
The reason the sync blocker was resolved.
- Parameters:
resolvedReason
- The reason the sync blocker was resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the sync blocker.
- Parameters:
status
- The status of the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the sync blocker.
- Parameters:
status
- The status of the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the sync blocker.
- Parameters:
type
- The type of the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the sync blocker.
- Parameters:
type
- The type of the sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-