@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddRoleToDBInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddRoleToDBInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
AddRoleToDBInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBInstanceIdentifier()
The name of the DB instance to associate the IAM role with.
|
String |
getFeatureName()
The name of the feature for the DB instance that the IAM role is to be associated with.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example
arn:aws:iam::123456789012:role/AccessRole . |
int |
hashCode() |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The name of the DB instance to associate the IAM role with.
|
void |
setFeatureName(String featureName)
The name of the feature for the DB instance that the IAM role is to be associated with.
|
void |
setRoleArn(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 . |
String |
toString()
Returns a string representation of this object.
|
AddRoleToDBInstanceRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The name of the DB instance to associate the IAM role with.
|
AddRoleToDBInstanceRequest |
withFeatureName(String featureName)
The name of the feature for the DB instance that the IAM role is to be associated with.
|
AddRoleToDBInstanceRequest |
withRoleArn(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 . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The name of the DB instance to associate the IAM role with.
dBInstanceIdentifier
- The name of the DB instance to associate the IAM role with.public String getDBInstanceIdentifier()
The name of the DB instance to associate the IAM role with.
public AddRoleToDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The name of the DB instance to associate the IAM role with.
dBInstanceIdentifier
- The name of the DB instance to associate the IAM role with.public void setRoleArn(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
.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example
arn:aws:iam::123456789012:role/AccessRole
.public String getRoleArn()
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 AddRoleToDBInstanceRequest withRoleArn(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
.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example
arn:aws:iam::123456789012:role/AccessRole
.public void setFeatureName(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.
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 String getFeatureName()
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 withFeatureName(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.
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 String toString()
toString
in class Object
Object.toString()
public AddRoleToDBInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()