Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class AddSourceIdentifierToSubscriptionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.AddSourceIdentifierToSubscriptionRequest
All Implemented Interfaces:
Serializable

public class AddSourceIdentifierToSubscriptionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the AddSourceIdentifierToSubscription operation.

Adds a source identifier to an existing RDS event notification subscription.

See Also:
AmazonRDS.addSourceIdentifierToSubscription(AddSourceIdentifierToSubscriptionRequest), Serialized Form

Constructor Summary
AddSourceIdentifierToSubscriptionRequest()
           
 
Method Summary
 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
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddSourceIdentifierToSubscriptionRequest

public AddSourceIdentifierToSubscriptionRequest()
Method Detail

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.

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.

withSubscriptionName

public AddSourceIdentifierToSubscriptionRequest withSubscriptionName(String subscriptionName)
The name of the RDS event notification subscription you want to add a source identifier to.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subscriptionName - The name of the RDS event notification subscription you want to add a source identifier to.
Returns:
A reference to this updated object so that method calls can be chained together.

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:

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.

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:

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.

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:

Returns a reference to this object so that method calls can be chained together.

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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.