Interface CreateCapabilityResponse.Builder

  • Method Details

    • capability

      An object containing information about the newly created capability, including its name, ARN, status, and configuration.

      Parameters:
      capability - An object containing information about the newly created capability, including its name, ARN, status, and configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capability

      An object containing information about the newly created capability, including its name, ARN, status, and configuration.

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

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

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