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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddRoleToDbInstanceRequest.BuilderdbInstanceIdentifier(String dbInstanceIdentifier)The name of the DB instance to associate the IAM role with.AddRoleToDbInstanceRequest.BuilderfeatureName(String featureName)The name of the feature for the DB instance that the IAM role is to be associated with.AddRoleToDbInstanceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddRoleToDbInstanceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddRoleToDbInstanceRequest.BuilderroleArn(String roleArn)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dbInstanceIdentifier
AddRoleToDbInstanceRequest.Builder dbInstanceIdentifier(String 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
AddRoleToDbInstanceRequest.Builder roleArn(String 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
AddRoleToDbInstanceRequest.Builder featureName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddRoleToDbInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-