Interface ListRolesRequest.Builder
- All Superinterfaces:
AccountAccessRuntimeRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListRolesRequest.Builder,,ListRolesRequest> SdkBuilder<ListRolesRequest.Builder,,ListRolesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListRolesRequest
@Mutable
@NotThreadSafe
public static interface ListRolesRequest.Builder
extends AccountAccessRuntimeRequest.Builder, SdkPojo, CopyableBuilder<ListRolesRequest.Builder,ListRolesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of roles to return in a single response.The pagination token from a previousListRolesresponse.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the tenant whose roles you want to list.Methods inherited from interface software.amazon.awssdk.services.accountaccessruntime.model.AccountAccessRuntimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 withaa-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
The maximum number of roles to return in a single response. If more roles are available than the specified value, the response includes a
nextTokenvalue 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 anextTokenvalue 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
The pagination token from a previous
ListRolesresponse. Use it to retrieve the next page of results. Omit this parameter on the first call.- Parameters:
nextToken- The pagination token from a previousListRolesresponse. 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListRolesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-