Interface AddRoleToDbInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddRoleToDbInstanceRequest.Builder,
,AddRoleToDbInstanceRequest> RdsRequest.Builder
,SdkBuilder<AddRoleToDbInstanceRequest.Builder,
,AddRoleToDbInstanceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddRoleToDbInstanceRequest
public static interface AddRoleToDbInstanceRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<AddRoleToDbInstanceRequest.Builder,AddRoleToDbInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondbInstanceIdentifier
(String dbInstanceIdentifier) The name of the DB instance to associate the IAM role with.featureName
(String featureName) The name of the feature for the DB instance 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 DB instance, for examplearn:aws:iam::123456789012:role/AccessRole
.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
-
dbInstanceIdentifier
The name of the DB instance to associate the IAM role with.
- Parameters:
dbInstanceIdentifier
- The name of the DB instance 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 DB instance, for example
arn:aws:iam::123456789012:role/AccessRole
.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for examplearn:aws:iam::123456789012:role/AccessRole
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureName
The name of the feature for the DB instance 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 instance 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
AddRoleToDbInstanceRequest.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
AddRoleToDbInstanceRequest.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.
-