Interface ShareError.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ShareError.Builder,ShareError>, SdkBuilder<ShareError.Builder,ShareError>, SdkPojo
Enclosing class:
ShareError

public static interface ShareError.Builder extends SdkPojo, CopyableBuilder<ShareError.Builder,ShareError>
  • Method Details

    • accounts

      ShareError.Builder accounts(Collection<String> accounts)

      List of accounts impacted by the error.

      Parameters:
      accounts - List of accounts impacted by the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accounts

      ShareError.Builder accounts(String... accounts)

      List of accounts impacted by the error.

      Parameters:
      accounts - List of accounts impacted by the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      ShareError.Builder message(String message)

      Information about the error.

      Parameters:
      message - Information about the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      ShareError.Builder error(String error)

      Error type that happened when processing the operation.

      Parameters:
      error - Error type that happened when processing the operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.