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 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

      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

      The contexts for the sync blocker.

      This is a convenience method that creates an instance of the SyncBlockerContext.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<SyncBlockerContext>).

      Parameters:
      contexts - a consumer that will call methods on SyncBlockerContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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: