@Generated(value="software.amazon.awssdk:codegen") public final class AddRoleToDbInstanceRequest extends RdsRequest implements ToCopyableBuilder<AddRoleToDbInstanceRequest.Builder,AddRoleToDbInstanceRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AddRoleToDbInstanceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static AddRoleToDbInstanceRequest.Builder |
builder() |
String |
dbInstanceIdentifier()
The name of the DB instance to associate the IAM role with.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
featureName()
The name of the feature for the DB instance that the IAM role is to be associated with.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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 . |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AddRoleToDbInstanceRequest.Builder> |
serializableBuilderClass() |
AddRoleToDbInstanceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String dbInstanceIdentifier()
The name of the DB instance to associate the IAM role with.
public final 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
.
arn:aws:iam::123456789012:role/AccessRole
.public final 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.
public AddRoleToDbInstanceRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AddRoleToDbInstanceRequest.Builder,AddRoleToDbInstanceRequest>
toBuilder
in class RdsRequest
public static AddRoleToDbInstanceRequest.Builder builder()
public static Class<? extends AddRoleToDbInstanceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.