public static interface SyncBlocker.Builder extends SdkPojo, CopyableBuilder<SyncBlocker.Builder,SyncBlocker>
| Modifier and Type | Method and Description |
|---|---|
SyncBlocker.Builder |
contexts(Collection<SyncBlockerContext> contexts)
The contexts for the sync blocker.
|
SyncBlocker.Builder |
contexts(Consumer<SyncBlockerContext.Builder>... contexts)
The contexts for the sync blocker.
|
SyncBlocker.Builder |
contexts(SyncBlockerContext... contexts)
The contexts for the sync blocker.
|
SyncBlocker.Builder |
createdAt(Instant createdAt)
The time when the sync blocker was created.
|
SyncBlocker.Builder |
createdReason(String createdReason)
The reason why the sync blocker was created.
|
SyncBlocker.Builder |
id(String id)
The ID of the sync blocker.
|
SyncBlocker.Builder |
resolvedAt(Instant resolvedAt)
The time the sync blocker was resolved.
|
SyncBlocker.Builder |
resolvedReason(String resolvedReason)
The reason the sync blocker was resolved.
|
SyncBlocker.Builder |
status(BlockerStatus status)
The status of the sync blocker.
|
SyncBlocker.Builder |
status(String status)
The status of the sync blocker.
|
SyncBlocker.Builder |
type(BlockerType type)
The type of the sync blocker.
|
SyncBlocker.Builder |
type(String type)
The type of the sync blocker.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSyncBlocker.Builder contexts(Collection<SyncBlockerContext> contexts)
The contexts for the sync blocker.
contexts - The contexts for the sync blocker.SyncBlocker.Builder contexts(SyncBlockerContext... contexts)
The contexts for the sync blocker.
contexts - The contexts for the sync blocker.SyncBlocker.Builder contexts(Consumer<SyncBlockerContext.Builder>... 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 via SyncBlockerContext.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #contexts(List.
contexts - a consumer that will call methods on
SyncBlockerContext.Builder#contexts(java.util.Collection) SyncBlocker.Builder createdAt(Instant createdAt)
The time when the sync blocker was created.
createdAt - The time when the sync blocker was created.SyncBlocker.Builder createdReason(String createdReason)
The reason why the sync blocker was created.
createdReason - The reason why the sync blocker was created.SyncBlocker.Builder id(String id)
The ID of the sync blocker.
id - The ID of the sync blocker.SyncBlocker.Builder resolvedAt(Instant resolvedAt)
The time the sync blocker was resolved.
resolvedAt - The time the sync blocker was resolved.SyncBlocker.Builder resolvedReason(String resolvedReason)
The reason the sync blocker was resolved.
resolvedReason - The reason the sync blocker was resolved.SyncBlocker.Builder status(String status)
The status of the sync blocker.
status - The status of the sync blocker.BlockerStatus,
BlockerStatusSyncBlocker.Builder status(BlockerStatus status)
The status of the sync blocker.
status - The status of the sync blocker.BlockerStatus,
BlockerStatusSyncBlocker.Builder type(String type)
The type of the sync blocker.
type - The type of the sync blocker.BlockerType,
BlockerTypeSyncBlocker.Builder type(BlockerType type)
The type of the sync blocker.
type - The type of the sync blocker.BlockerType,
BlockerTypeCopyright © 2023. All rights reserved.