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 Event

    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • setSourceIdentifier

        public void setSourceIdentifier(String sourceIdentifier)

        The identifier for the source of the event.

        Parameters:
        sourceIdentifier - The identifier for the source of the event.
      • getSourceIdentifier

        public String getSourceIdentifier()

        The identifier for the source of the event.

        Returns:
        The identifier for the source of the event.
      • withSourceIdentifier

        public Event withSourceIdentifier(String sourceIdentifier)

        The identifier for the source of the event.

        Parameters:
        sourceIdentifier - The identifier for the source of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceType

        public void setSourceType(String sourceType)

        The source type for this event.

        Parameters:
        sourceType - The source type for this event.
        See Also:
        SourceType
      • getSourceType

        public String getSourceType()

        The source type for this event.

        Returns:
        The source type for this event.
        See Also:
        SourceType
      • withSourceType

        public Event withSourceType(String sourceType)

        The source type for this event.

        Parameters:
        sourceType - The source type for this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType
      • setSourceType

        public void setSourceType(SourceType sourceType)

        The source type for this event.

        Parameters:
        sourceType - The source type for this event.
        See Also:
        SourceType
      • withSourceType

        public Event withSourceType(SourceType sourceType)

        The source type for this event.

        Parameters:
        sourceType - The source type for this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType
      • setMessage

        public void setMessage(String message)

        The text of this event.

        Parameters:
        message - The text of this event.
      • getMessage

        public String getMessage()

        The text of this event.

        Returns:
        The text of this event.
      • withMessage

        public Event withMessage(String message)

        The text of this event.

        Parameters:
        message - The text of this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEventCategories

        public List<String> getEventCategories()

        A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

        Returns:
        A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

      • setEventCategories

        public void setEventCategories(Collection<String> eventCategories)

        A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

        Parameters:
        eventCategories - A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

      • withEventCategories

        public Event withEventCategories(String... eventCategories)

        A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

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

        Parameters:
        eventCategories - A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

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

        public Event withEventCategories(Collection<String> eventCategories)

        A list of the event categories.

        Values: Configuration, Management, Monitoring, Security, Pending

        Parameters:
        eventCategories - A list of the event categories.

        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 severity of the event.

        Values: ERROR, INFO

        Parameters:
        severity - The severity of the event.

        Values: ERROR, INFO

      • getSeverity

        public String getSeverity()

        The severity of the event.

        Values: ERROR, INFO

        Returns:
        The severity of the event.

        Values: ERROR, INFO

      • withSeverity

        public Event withSeverity(String severity)

        The severity of the event.

        Values: ERROR, INFO

        Parameters:
        severity - The severity of the event.

        Values: ERROR, INFO

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

        public void setDate(Date date)

        The date and time of the event.

        Parameters:
        date - The date and time of the event.
      • getDate

        public Date getDate()

        The date and time of the event.

        Returns:
        The date and time of the event.
      • withDate

        public Event withDate(Date date)

        The date and time of the event.

        Parameters:
        date - The date and time of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEventId

        public void setEventId(String eventId)

        The identifier of the event.

        Parameters:
        eventId - The identifier of the event.
      • getEventId

        public String getEventId()

        The identifier of the event.

        Returns:
        The identifier of the event.
      • withEventId

        public Event withEventId(String eventId)

        The identifier of the event.

        Parameters:
        eventId - The identifier of the event.
        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 によって変換されたページ (->オリジナル) /