Interface BatchGetControlError.Builder

  • Method Details

    • key

      The identifier of the control that the operation could not retrieve.

      Parameters:
      key - The identifier of the control that the operation could not retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The identifier of the control that the operation could not retrieve.

      This is a convenience method that creates an instance of the ControlKey.Builder avoiding the need to create one manually via ControlKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to key(ControlKey).

      Parameters:
      key - a consumer that will call methods on ControlKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • code

      The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.

      Parameters:
      code - The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      A human-readable explanation of why the operation could not return this control. Intended for display and logging; match on code for programmatic handling.

      Parameters:
      message - A human-readable explanation of why the operation could not return this control. Intended for display and logging; match on code for programmatic handling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.