Interface DeleteRoleAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteRoleAssociationRequest.Builder,,DeleteRoleAssociationRequest> RedshiftServerlessRequest.Builder,SdkBuilder<DeleteRoleAssociationRequest.Builder,,DeleteRoleAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteRoleAssociationRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principal(Consumer<PrincipalInput.Builder> principal) The IAM role or IAM user to remove from the role type.principal(PrincipalInput principal) The IAM role or IAM user to remove from the role type.The case-sensitive system-defined role to remove the principal from.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 remove the principal from. Valid values are
sys:superuser,sys:operator,sys:dba,sys:secadmin, andsys:monitor.- Parameters:
roleType- The case-sensitive system-defined role to remove the principal from. Valid values aresys:superuser,sys:operator,sys:dba,sys:secadmin, andsys:monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The IAM role or IAM user to remove from the role type. Specify the ARN used to create the association. The IAM principal doesn't need to exist when you delete the association.
- Parameters:
principal- The IAM role or IAM user to remove from the role type. Specify the ARN used to create the association. The IAM principal doesn't need to exist when you delete the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The IAM role or IAM user to remove from the role type. Specify the ARN used to create the association. The IAM principal doesn't need to exist when you delete the association.
This is a convenience method that creates an instance of thePrincipalInput.Builderavoiding the need to create one manually viaPrincipalInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(PrincipalInput).- Parameters:
principal- a consumer that will call methods onPrincipalInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeleteRoleAssociationRequest.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
DeleteRoleAssociationRequest.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.
-