public class AddSourceIdentifierToSubscriptionRequest extends AmazonWebServiceRequest implements Serializable
AddSourceIdentifierToSubscription operation
.
Adds a source identifier to an existing RDS event notification subscription.
Constructor and Description |
---|
AddSourceIdentifierToSubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public AddSourceIdentifierToSubscriptionRequest()
public String getSubscriptionName()
public void setSubscriptionName(String subscriptionName)
subscriptionName
- The name of the RDS event notification subscription you want to add a
source identifier to.public AddSourceIdentifierToSubscriptionRequest withSubscriptionName(String subscriptionName)
Returns a reference to this object so that method calls can be chained together.
subscriptionName
- The name of the RDS event notification subscription you want to add a
source identifier to.public String getSourceIdentifier()
Constraints:
DBInstanceIdentifier
must be supplied.DBSecurityGroupName
must be supplied.DBParameterGroupName
must be supplied.DBSnapshotIdentifier
must
be supplied.Constraints:
DBInstanceIdentifier
must be supplied.DBSecurityGroupName
must be supplied.DBParameterGroupName
must be supplied.DBSnapshotIdentifier
must
be supplied.public void setSourceIdentifier(String sourceIdentifier)
Constraints:
DBInstanceIdentifier
must be supplied.DBSecurityGroupName
must be supplied.DBParameterGroupName
must be supplied.DBSnapshotIdentifier
must
be supplied.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:
DBInstanceIdentifier
must be supplied.DBSecurityGroupName
must be supplied.DBParameterGroupName
must be supplied.DBSnapshotIdentifier
must
be supplied.public AddSourceIdentifierToSubscriptionRequest withSourceIdentifier(String sourceIdentifier)
Constraints:
DBInstanceIdentifier
must be supplied.DBSecurityGroupName
must be supplied.DBParameterGroupName
must be supplied.DBSnapshotIdentifier
must
be supplied.Returns a reference to this object so that method calls can be chained together.
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:
DBInstanceIdentifier
must be supplied.DBSecurityGroupName
must be supplied.DBParameterGroupName
must be supplied.DBSnapshotIdentifier
must
be supplied.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.