Class AddSourceIdentifierToSubscriptionRequest

    • Constructor Detail

      • AddSourceIdentifierToSubscriptionRequest

        public AddSourceIdentifierToSubscriptionRequest()
    • 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.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object