@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.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 RdsRequestpublic static AddRoleToDbInstanceRequest.Builder builder()
public static Class<? extends AddRoleToDbInstanceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.