@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddSourceIdentifierToSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| AddSourceIdentifierToSubscriptionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| AddSourceIdentifierToSubscriptionRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getSourceIdentifier()
 The identifier of the event source to be added. | 
| String | getSubscriptionName()
 The name of the RDS event notification subscription you want to add a source identifier to. | 
| int | hashCode() | 
| void | setSourceIdentifier(String sourceIdentifier)
 The identifier of the event source to be added. | 
| void | setSubscriptionName(String subscriptionName)
 The name of the RDS event notification subscription you want to add a source identifier to. | 
| String | toString()Returns a string representation of this object. | 
| AddSourceIdentifierToSubscriptionRequest | withSourceIdentifier(String sourceIdentifier)
 The identifier of the event source to be added. | 
| AddSourceIdentifierToSubscriptionRequest | withSubscriptionName(String subscriptionName)
 The name of the RDS event notification subscription you want to add a source identifier to. | 
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, withSdkRequestTimeoutpublic AddSourceIdentifierToSubscriptionRequest()
public void setSubscriptionName(String subscriptionName)
The name of the RDS event notification subscription you want to add a source identifier to.
subscriptionName - The name of the RDS event notification subscription you want to add a source identifier to.public String getSubscriptionName()
The name of the RDS event notification subscription you want to add a source identifier to.
public AddSourceIdentifierToSubscriptionRequest withSubscriptionName(String subscriptionName)
The name of the RDS event notification subscription you want to add a source identifier to.
subscriptionName - The name of the RDS event notification subscription you want to add a source identifier to.public void setSourceIdentifier(String sourceIdentifier)
The identifier of the event source to be added.
Constraints:
 If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
 
 If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
 
 If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
 
 If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
 
 If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
 
 If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied.
 
sourceIdentifier - The identifier of the event source to be added.
        Constraints:
        If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
        
        If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
        
        If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
        
        If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
        
        If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
        
        If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be
        supplied.
        
public String getSourceIdentifier()
The identifier of the event source to be added.
Constraints:
 If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
 
 If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
 
 If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
 
 If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
 
 If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
 
 If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied.
 
Constraints:
         If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
         
         If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
         
         If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
         
         If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
         
         If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
         
         If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be
         supplied.
         
public AddSourceIdentifierToSubscriptionRequest withSourceIdentifier(String sourceIdentifier)
The identifier of the event source to be added.
Constraints:
 If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
 
 If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
 
 If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
 
 If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
 
 If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
 
 If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied.
 
sourceIdentifier - The identifier of the event source to be added.
        Constraints:
        If the source type is a DB instance, a DBInstanceIdentifier value must be supplied.
        
        If the source type is a DB cluster, a DBClusterIdentifier value must be supplied.
        
        If the source type is a DB parameter group, a DBParameterGroupName value must be supplied.
        
        If the source type is a DB security group, a DBSecurityGroupName value must be supplied.
        
        If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied.
        
        If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be
        supplied.
        
public String toString()
toString in class ObjectObject.toString()public AddSourceIdentifierToSubscriptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()