@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddRoleToDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddRoleToDBClusterRequest() |
Modifier and Type | Method and Description |
---|---|
AddRoleToDBClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBClusterIdentifier()
The name of the DB cluster to associate the IAM role with.
|
String |
getFeatureName()
The name of the feature for the DB cluster that the IAM role is to be associated with.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole . |
int |
hashCode() |
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The name of the DB cluster to associate the IAM role with.
|
void |
setFeatureName(String featureName)
The name of the feature for the DB cluster 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 Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole . |
String |
toString()
Returns a string representation of this object.
|
AddRoleToDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
The name of the DB cluster to associate the IAM role with.
|
AddRoleToDBClusterRequest |
withFeatureName(String featureName)
The name of the feature for the DB cluster that the IAM role is to be associated with.
|
AddRoleToDBClusterRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole . |
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 setDBClusterIdentifier(String dBClusterIdentifier)
The name of the DB cluster to associate the IAM role with.
dBClusterIdentifier
- The name of the DB cluster to associate the IAM role with.public String getDBClusterIdentifier()
The name of the DB cluster to associate the IAM role with.
public AddRoleToDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
The name of the DB cluster to associate the IAM role with.
dBClusterIdentifier
- The name of the DB cluster to associate the IAM role with.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.
arn:aws:iam::123456789012:role/AuroraAccessRole
.public AddRoleToDBClusterRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.public void setFeatureName(String featureName)
The name of the feature for the DB cluster 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 cluster 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 cluster that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.
public AddRoleToDBClusterRequest withFeatureName(String featureName)
The name of the feature for the DB cluster 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 cluster 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 AddRoleToDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()