Interface ListRoleAssociationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListRoleAssociationsRequest.Builder,,ListRoleAssociationsRequest> RedshiftServerlessRequest.Builder,SdkBuilder<ListRoleAssociationsRequest.Builder,,ListRoleAssociationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListRoleAssociationsRequest
@Mutable
@NotThreadSafe
public static interface ListRoleAssociationsRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListRoleAssociationsRequest.Builder,ListRoleAssociationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The case-sensitive system-defined role to list principals for.The Amazon Resource Name (ARN) of the default endpoint.Methods 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.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
targetArn
The Amazon Resource Name (ARN) of the default endpoint. Only
express-defaultis supported, and it must be in the same Amazon Web Services account as the caller. The ARN format isarn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default, for examplearn:aws:redshift-serverless:us-east-1:111122223333:workgroup/express/express-default.- Parameters:
targetArn- The Amazon Resource Name (ARN) of the default endpoint. Onlyexpress-defaultis supported, and it must be in the same Amazon Web Services account as the caller. The ARN format isarn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default, for examplearn:aws:redshift-serverless:us-east-1:111122223333:workgroup/express/express-default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleType
The case-sensitive system-defined role to list principals for. Valid values are
sys:superuser,sys:operator,sys:dba,sys:secadmin, andsys:monitor. When omitted, returns all existing role associations for the target, grouped by role type.- Parameters:
roleType- The case-sensitive system-defined role to list principals for. Valid values aresys:superuser,sys:operator,sys:dba,sys:secadmin, andsys:monitor. When omitted, returns all existing role associations for the target, grouped by role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListRoleAssociationsRequest.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
ListRoleAssociationsRequest.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.
-