Interface ListRolesResponse.Builder

  • Method Details

    • roles

      The list of roles that you can access in the tenant. Each entry describes an Amazon Web Services account and a role.

      Parameters:
      roles - The list of roles that you can access in the tenant. Each entry describes an Amazon Web Services account and a role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roles

      The list of roles that you can access in the tenant. Each entry describes an Amazon Web Services account and a role.

      Parameters:
      roles - The list of roles that you can access in the tenant. Each entry describes an Amazon Web Services account and a role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roles

      The list of roles that you can access in the tenant. Each entry describes an Amazon Web Services account and a role.

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

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

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

      ListRolesResponse.Builder nextToken(String nextToken)

      The pagination token to include in a subsequent ListRoles request to retrieve the next page of results. This value is absent when there are no more results to return.

      Parameters:
      nextToken - The pagination token to include in a subsequent ListRoles request to retrieve the next page of results. This value is absent when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.