Interface AcquireRoleResponse.Builder

  • Method Details

    • role

      A structure that contains details about the IAM role that was created.

      Parameters:
      role - A structure that contains details about the IAM role that was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • role

      A structure that contains details about the IAM role that was created.

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

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

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