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 a specific sync blocker.SyncBlocker.Buildercontexts(Consumer<SyncBlockerContext.Builder>... contexts)The contexts for a specific sync blocker.SyncBlocker.Buildercontexts(SyncBlockerContext... contexts)The contexts for a specific sync blocker.SyncBlocker.BuildercreatedAt(Instant createdAt)The creation time for a specific sync blocker.SyncBlocker.BuildercreatedReason(String createdReason)The provided reason for a specific sync blocker.SyncBlocker.Builderid(String id)The ID for a specific sync blocker.SyncBlocker.BuilderresolvedAt(Instant resolvedAt)The time that a specific sync blocker was resolved.SyncBlocker.BuilderresolvedReason(String resolvedReason)The resolved reason for a specific sync blocker.SyncBlocker.Builderstatus(String status)The status for a specific sync blocker.SyncBlocker.Builderstatus(BlockerStatus status)The status for a specific sync blocker.SyncBlocker.Buildertype(String type)The sync blocker type.SyncBlocker.Buildertype(BlockerType type)The sync blocker type.-
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
-
id
SyncBlocker.Builder id(String id)
The ID for a specific sync blocker.
- Parameters:
id- The ID for a specific sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
SyncBlocker.Builder type(String type)
The sync blocker type.
- Parameters:
type- The sync blocker type.- 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 sync blocker type.
- Parameters:
type- The sync blocker type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BlockerType,BlockerType
-
status
SyncBlocker.Builder status(String status)
The status for a specific sync blocker.
- Parameters:
status- The status for a specific 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 for a specific sync blocker.
- Parameters:
status- The status for a specific sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BlockerStatus,BlockerStatus
-
createdReason
SyncBlocker.Builder createdReason(String createdReason)
The provided reason for a specific sync blocker.
- Parameters:
createdReason- The provided reason for a specific sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
SyncBlocker.Builder createdAt(Instant createdAt)
The creation time for a specific sync blocker.
- Parameters:
createdAt- The creation time for a specific sync blocker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
SyncBlocker.Builder contexts(Collection<SyncBlockerContext> contexts)
The contexts for a specific sync blocker.
- Parameters:
contexts- The contexts for a specific 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 a specific sync blocker.
- Parameters:
contexts- The contexts for a specific 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 a specific 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)
-
resolvedReason
SyncBlocker.Builder resolvedReason(String resolvedReason)
The resolved reason for a specific sync blocker.
- Parameters:
resolvedReason- The resolved reason for a specific 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 that a specific sync blocker was resolved.
- Parameters:
resolvedAt- The time that a specific sync blocker was resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-