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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyncBlocker.Buildercontexts(Collection<SyncBlockerContext> contexts)The contexts for the sync blocker.SyncBlocker.Buildercontexts(Consumer<SyncBlockerContext.Builder>... contexts)The contexts for the sync blocker.SyncBlocker.Buildercontexts(SyncBlockerContext... contexts)The contexts for the sync blocker.SyncBlocker.BuildercreatedAt(Instant createdAt)The time when the sync blocker was created.SyncBlocker.BuildercreatedReason(String createdReason)The reason why the sync blocker was created.SyncBlocker.Builderid(String id)The ID of the sync blocker.SyncBlocker.BuilderresolvedAt(Instant resolvedAt)The time the sync blocker was resolved.SyncBlocker.BuilderresolvedReason(String resolvedReason)The reason the sync blocker was resolved.SyncBlocker.Builderstatus(String status)The status of the sync blocker.SyncBlocker.Builderstatus(BlockerStatus status)The status of the sync blocker.SyncBlocker.Buildertype(String type)The type of the sync blocker.SyncBlocker.Buildertype(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 Detail
-
contexts
SyncBlocker.Builder contexts(Collection<SyncBlockerContext> 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
SyncBlocker.Builder contexts(SyncBlockerContext... 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
SyncBlocker.Builder contexts(Consumer<SyncBlockerContext.Builder>... contexts)
The contexts for the sync blocker.
This is a convenience method that creates an instance of theSyncBlockerContext.Builderavoiding the need to create one manually viaSyncBlockerContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contexts(List.) - 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:
#contexts(java.util.Collection)
-
createdAt
SyncBlocker.Builder createdAt(Instant 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
SyncBlocker.Builder createdReason(String 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
SyncBlocker.Builder id(String 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
SyncBlocker.Builder resolvedAt(Instant 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
SyncBlocker.Builder resolvedReason(String 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
SyncBlocker.Builder status(String 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:
BlockerStatus,BlockerStatus
-
status
SyncBlocker.Builder status(BlockerStatus 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:
BlockerStatus,BlockerStatus
-
type
SyncBlocker.Builder type(String 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:
BlockerType,BlockerType
-
type
SyncBlocker.Builder type(BlockerType 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:
BlockerType,BlockerType
-
-