Class AddSourceIdentifierToSubscriptionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.AddSourceIdentifierToSubscriptionRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class AddSourceIdentifierToSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddSourceIdentifierToSubscriptionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddSourceIdentifierToSubscriptionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetSourceIdentifier()The identifier of the event source to be added.StringgetSubscriptionName()The name of the RDS event notification subscription you want to add a source identifier to.inthashCode()voidsetSourceIdentifier(String sourceIdentifier)The identifier of the event source to be added.voidsetSubscriptionName(String subscriptionName)The name of the RDS event notification subscription you want to add a source identifier to.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddSourceIdentifierToSubscriptionRequestwithSourceIdentifier(String sourceIdentifier)The identifier of the event source to be added.AddSourceIdentifierToSubscriptionRequestwithSubscriptionName(String subscriptionName)The name of the RDS event notification subscription you want to add a source identifier to.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setSubscriptionName
public void setSubscriptionName(String subscriptionName)
The name of the RDS event notification subscription you want to add a source identifier to.
- Parameters:
subscriptionName- The name of the RDS event notification subscription you want to add a source identifier to.
-
getSubscriptionName
public String getSubscriptionName()
The name of the RDS event notification subscription you want to add a source identifier to.
- Returns:
- The name of the RDS event notification subscription you want to add a source identifier to.
-
withSubscriptionName
public AddSourceIdentifierToSubscriptionRequest withSubscriptionName(String subscriptionName)
The name of the RDS event notification subscription you want to add a source identifier to.
- Parameters:
subscriptionName- The name of the RDS event notification subscription you want to add a source identifier to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceIdentifier
public void setSourceIdentifier(String sourceIdentifier)
The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
Constraints:
- If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. - If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. - If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- Parameters:
sourceIdentifier- The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.Constraints:
- If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. - If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. - If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- If the source type is a DB instance, then a
- If the source type is a DB instance, then a
-
getSourceIdentifier
public String getSourceIdentifier()
The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
Constraints:
- If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. - If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. - If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- Returns:
- The identifier of the event source to be added. An identifier
must begin with a letter and must contain only ASCII letters,
digits, and hyphens; it cannot end with a hyphen or contain two
consecutive hyphens.
Constraints:
- If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. - If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. - If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- If the source type is a DB instance, then a
- If the source type is a DB instance, then a
-
withSourceIdentifier
public AddSourceIdentifierToSubscriptionRequest withSourceIdentifier(String sourceIdentifier)
The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
Constraints:
- If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. - If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. - If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- Parameters:
sourceIdentifier- The identifier of the event source to be added. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.Constraints:
- If the source type is a DB instance, then a
DBInstanceIdentifiermust be supplied. - If the source type is a DB security group, a
DBSecurityGroupNamemust be supplied. - If the source type is a DB parameter group, a
DBParameterGroupNamemust be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifiermust be supplied.
- If the source type is a DB instance, then a
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- If the source type is a DB instance, then a
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddSourceIdentifierToSubscriptionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-