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 AddSourceIdentifierToSubscriptionRequest
clone()
Creates a shallow clone of this request.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; useful for testing and debugging.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.-
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
DBInstanceIdentifier
must be supplied. - If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. - If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifier
must 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
DBInstanceIdentifier
must be supplied. - If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. - If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifier
must 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
DBInstanceIdentifier
must be supplied. - If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. - If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifier
must 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
DBInstanceIdentifier
must be supplied. - If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. - If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifier
must 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
DBInstanceIdentifier
must be supplied. - If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. - If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifier
must 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
DBInstanceIdentifier
must be supplied. - If the source type is a DB security group, a
DBSecurityGroupName
must be supplied. - If the source type is a DB parameter group, a
DBParameterGroupName
must be supplied. - If the source type is a DB snapshot, a
DBSnapshotIdentifier
must 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddSourceIdentifierToSubscriptionRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-