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

    • 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

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

      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

      The contexts for a specific 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:
    • 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.