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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-