Class SourceDetail

java.lang.Object
com.amazonaws.services.config.model.SourceDetail
All Implemented Interfaces:
Serializable, Cloneable

public class SourceDetail extends Object implements Serializable, Cloneable

Provides the source and type of the event that triggers AWS Config to evaluate your AWS resources against a rule.

See Also:
  • Constructor Details

    • SourceDetail

      public SourceDetail()
  • Method Details

    • setEventSource

      public void setEventSource(String eventSource)

      The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

      Parameters:
      eventSource - The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
      See Also:
    • getEventSource

      public String getEventSource()

      The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

      Returns:
      The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
      See Also:
    • withEventSource

      public SourceDetail withEventSource(String eventSource)

      The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

      Parameters:
      eventSource - The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setEventSource

      public void setEventSource(EventSource eventSource)

      The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

      Parameters:
      eventSource - The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
      See Also:
    • withEventSource

      public SourceDetail withEventSource(EventSource eventSource)

      The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

      Parameters:
      eventSource - The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setMessageType

      public void setMessageType(String messageType)

      The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

      Parameters:
      messageType - The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.
      See Also:
    • getMessageType

      public String getMessageType()

      The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

      Returns:
      The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.
      See Also:
    • withMessageType

      public SourceDetail withMessageType(String messageType)

      The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

      Parameters:
      messageType - The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setMessageType

      public void setMessageType(MessageType messageType)

      The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

      Parameters:
      messageType - The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.
      See Also:
    • withMessageType

      public SourceDetail withMessageType(MessageType messageType)

      The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

      Parameters:
      messageType - The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      public SourceDetail clone()
      Overrides:
      clone in class Object