JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.redshift.model

Class EventSubscription

    • Constructor Detail

      • EventSubscription

        public EventSubscription()
    • Method Detail

      • setCustomerAwsId

        public void setCustomerAwsId(String customerAwsId)

        The Amazon Web Services account associated with the Amazon Redshift event notification subscription.

        Parameters:
        customerAwsId - The Amazon Web Services account associated with the Amazon Redshift event notification subscription.
      • getCustomerAwsId

        public String getCustomerAwsId()

        The Amazon Web Services account associated with the Amazon Redshift event notification subscription.

        Returns:
        The Amazon Web Services account associated with the Amazon Redshift event notification subscription.
      • withCustomerAwsId

        public EventSubscription withCustomerAwsId(String customerAwsId)

        The Amazon Web Services account associated with the Amazon Redshift event notification subscription.

        Parameters:
        customerAwsId - The Amazon Web Services account associated with the Amazon Redshift event notification subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCustSubscriptionId

        public void setCustSubscriptionId(String custSubscriptionId)

        The name of the Amazon Redshift event notification subscription.

        Parameters:
        custSubscriptionId - The name of the Amazon Redshift event notification subscription.
      • getCustSubscriptionId

        public String getCustSubscriptionId()

        The name of the Amazon Redshift event notification subscription.

        Returns:
        The name of the Amazon Redshift event notification subscription.
      • withCustSubscriptionId

        public EventSubscription withCustSubscriptionId(String custSubscriptionId)

        The name of the Amazon Redshift event notification subscription.

        Parameters:
        custSubscriptionId - The name of the Amazon Redshift event notification subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSnsTopicArn

        public void setSnsTopicArn(String snsTopicArn)

        The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.

        Parameters:
        snsTopicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
      • getSnsTopicArn

        public String getSnsTopicArn()

        The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.

        Returns:
        The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
      • withSnsTopicArn

        public EventSubscription withSnsTopicArn(String snsTopicArn)

        The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.

        Parameters:
        snsTopicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(String status)

        The status of the Amazon Redshift event notification subscription.

        Constraints:

        • Can be one of the following: active | no-permission | topic-not-exist

        • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

        Parameters:
        status - The status of the Amazon Redshift event notification subscription.

        Constraints:

        • Can be one of the following: active | no-permission | topic-not-exist

        • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

      • getStatus

        public String getStatus()

        The status of the Amazon Redshift event notification subscription.

        Constraints:

        • Can be one of the following: active | no-permission | topic-not-exist

        • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

        Returns:
        The status of the Amazon Redshift event notification subscription.

        Constraints:

        • Can be one of the following: active | no-permission | topic-not-exist

        • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

      • withStatus

        public EventSubscription withStatus(String status)

        The status of the Amazon Redshift event notification subscription.

        Constraints:

        • Can be one of the following: active | no-permission | topic-not-exist

        • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

        Parameters:
        status - The status of the Amazon Redshift event notification subscription.

        Constraints:

        • Can be one of the following: active | no-permission | topic-not-exist

        • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

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

        public void setSubscriptionCreationTime(Date subscriptionCreationTime)

        The date and time the Amazon Redshift event notification subscription was created.

        Parameters:
        subscriptionCreationTime - The date and time the Amazon Redshift event notification subscription was created.
      • getSubscriptionCreationTime

        public Date getSubscriptionCreationTime()

        The date and time the Amazon Redshift event notification subscription was created.

        Returns:
        The date and time the Amazon Redshift event notification subscription was created.
      • withSubscriptionCreationTime

        public EventSubscription withSubscriptionCreationTime(Date subscriptionCreationTime)

        The date and time the Amazon Redshift event notification subscription was created.

        Parameters:
        subscriptionCreationTime - The date and time the Amazon Redshift event notification subscription was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceType

        public void setSourceType(String sourceType)

        The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.

        Parameters:
        sourceType - The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.
      • getSourceType

        public String getSourceType()

        The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.

        Returns:
        The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.
      • withSourceType

        public EventSubscription withSourceType(String sourceType)

        The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.

        Parameters:
        sourceType - The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSourceIdsList

        public List<String> getSourceIdsList()

        A list of the sources that publish events to the Amazon Redshift event notification subscription.

        Returns:
        A list of the sources that publish events to the Amazon Redshift event notification subscription.
      • setSourceIdsList

        public void setSourceIdsList(Collection<String> sourceIdsList)

        A list of the sources that publish events to the Amazon Redshift event notification subscription.

        Parameters:
        sourceIdsList - A list of the sources that publish events to the Amazon Redshift event notification subscription.
      • withSourceIdsList

        public EventSubscription withSourceIdsList(String... sourceIdsList)

        A list of the sources that publish events to the Amazon Redshift event notification subscription.

        NOTE: This method appends the values to the existing list (if any). Use setSourceIdsList(java.util.Collection) or withSourceIdsList(java.util.Collection) if you want to override the existing values.

        Parameters:
        sourceIdsList - A list of the sources that publish events to the Amazon Redshift event notification subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSourceIdsList

        public EventSubscription withSourceIdsList(Collection<String> sourceIdsList)

        A list of the sources that publish events to the Amazon Redshift event notification subscription.

        Parameters:
        sourceIdsList - A list of the sources that publish events to the Amazon Redshift event notification subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEventCategoriesList

        public List<String> getEventCategoriesList()

        The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

        Returns:
        The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

      • setEventCategoriesList

        public void setEventCategoriesList(Collection<String> eventCategoriesList)

        The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

        Parameters:
        eventCategoriesList - The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

      • withEventCategoriesList

        public EventSubscription withEventCategoriesList(String... eventCategoriesList)

        The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

        NOTE: This method appends the values to the existing list (if any). Use setEventCategoriesList(java.util.Collection) or withEventCategoriesList(java.util.Collection) if you want to override the existing values.

        Parameters:
        eventCategoriesList - The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

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

        public EventSubscription withEventCategoriesList(Collection<String> eventCategoriesList)

        The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

        Parameters:
        eventCategoriesList - The list of Amazon Redshift event categories specified in the event notification subscription.

        Values: Configuration, Management, Monitoring, Security, Pending

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

        public void setSeverity(String severity)

        The event severity specified in the Amazon Redshift event notification subscription.

        Values: ERROR, INFO

        Parameters:
        severity - The event severity specified in the Amazon Redshift event notification subscription.

        Values: ERROR, INFO

      • getSeverity

        public String getSeverity()

        The event severity specified in the Amazon Redshift event notification subscription.

        Values: ERROR, INFO

        Returns:
        The event severity specified in the Amazon Redshift event notification subscription.

        Values: ERROR, INFO

      • withSeverity

        public EventSubscription withSeverity(String severity)

        The event severity specified in the Amazon Redshift event notification subscription.

        Values: ERROR, INFO

        Parameters:
        severity - The event severity specified in the Amazon Redshift event notification subscription.

        Values: ERROR, INFO

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

        public void setEnabled(Boolean enabled)

        A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

        Parameters:
        enabled - A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.
      • getEnabled

        public Boolean getEnabled()

        A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

        Returns:
        A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.
      • withEnabled

        public EventSubscription withEnabled(Boolean enabled)

        A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

        Parameters:
        enabled - A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        public Boolean isEnabled()

        A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

        Returns:
        A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.
      • getTags

        public List<Tag> getTags()

        The list of tags for the event subscription.

        Returns:
        The list of tags for the event subscription.
      • setTags

        public void setTags(Collection<Tag> tags)

        The list of tags for the event subscription.

        Parameters:
        tags - The list of tags for the event subscription.
      • withTags

        public EventSubscription withTags(Tag... tags)

        The list of tags for the event subscription.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - The list of tags for the event subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public EventSubscription withTags(Collection<Tag> tags)

        The list of tags for the event subscription.

        Parameters:
        tags - The list of tags for the event subscription.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /