Interface AddRoleToDbClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddRoleToDbClusterRequest.Builder,
,AddRoleToDbClusterRequest> RdsRequest.Builder
,SdkBuilder<AddRoleToDbClusterRequest.Builder,
,AddRoleToDbClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddRoleToDbClusterRequest
public static interface AddRoleToDbClusterRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<AddRoleToDbClusterRequest.Builder,AddRoleToDbClusterRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterIdentifier
(String dbClusterIdentifier) The name of the DB cluster to associate the IAM role with.featureName
(String featureName) The name of the feature for the DB cluster that the IAM role is to be associated with.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for examplearn:aws:iam::123456789012:role/AuroraAccessRole
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbClusterIdentifier
The name of the DB cluster to associate the IAM role with.
- Parameters:
dbClusterIdentifier
- The name of the DB cluster to associate the IAM role with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for examplearn:aws:iam::123456789012:role/AuroraAccessRole
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureName
The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.
- Parameters:
featureName
- The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddRoleToDbClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddRoleToDbClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-