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:
  • Constructor Details

    • AddSourceIdentifierToSubscriptionRequest

      public AddSourceIdentifierToSubscriptionRequest()
  • Method Details

    • 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.
    • 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.
    • 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.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: