Interface ListAccountRolesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAccountRolesResponse.Builder,ListAccountRolesResponse>, SdkBuilder<ListAccountRolesResponse.Builder,ListAccountRolesResponse>, SdkPojo, SdkResponse.Builder, SsoResponse.Builder
Enclosing class:
ListAccountRolesResponse

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

    • nextToken

      The page token client that is used to retrieve the list of accounts.

      Parameters:
      nextToken - The page token client that is used to retrieve the list of accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleList

      A paginated response with the list of roles and the next token if more results are available.

      Parameters:
      roleList - A paginated response with the list of roles and the next token if more results are available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleList

      A paginated response with the list of roles and the next token if more results are available.

      Parameters:
      roleList - A paginated response with the list of roles and the next token if more results are available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleList

      A paginated response with the list of roles and the next token if more results are available.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to roleList(List<RoleInfo>).

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