Interface ListRolesRequest.Builder

  • Method Details

    • tenantId

      ListRolesRequest.Builder tenantId(String tenantId)

      The identifier of the tenant whose roles you want to list. A tenant ID begins with aa- and is 3 to 24 characters long. It can contain lowercase letters, numbers, and hyphens.

      Parameters:
      tenantId - The identifier of the tenant whose roles you want to list. A tenant ID begins with aa- and is 3 to 24 characters long. It can contain lowercase letters, numbers, and hyphens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListRolesRequest.Builder maxResults(Integer maxResults)

      The maximum number of roles to return in a single response. If more roles are available than the specified value, the response includes a nextToken value that you can use to retrieve the next page of results. If you don't specify a value, the service uses a default page size.

      Parameters:
      maxResults - The maximum number of roles to return in a single response. If more roles are available than the specified value, the response includes a nextToken value that you can use to retrieve the next page of results. If you don't specify a value, the service uses a default page size.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListRolesRequest.Builder nextToken(String nextToken)

      The pagination token from a previous ListRoles response. Use it to retrieve the next page of results. Omit this parameter on the first call.

      Parameters:
      nextToken - The pagination token from a previous ListRoles response. Use it to retrieve the next page of results. Omit this parameter on the first call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListRolesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.