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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SourceDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceDetail
clone()
boolean
equals(Object obj)
String
getEventSource()
The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.String
getMessageType()
The type of SNS message that triggers AWS Config to run an evaluation.int
hashCode()
void
setEventSource(EventSource eventSource)
The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.void
setEventSource(String eventSource)
The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.void
setMessageType(MessageType messageType)
The type of SNS message that triggers AWS Config to run an evaluation.void
setMessageType(String messageType)
The type of SNS message that triggers AWS Config to run an evaluation.String
toString()
Returns a string representation of this object; useful for testing and debugging.SourceDetail
withEventSource(EventSource eventSource)
The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.SourceDetail
withEventSource(String eventSource)
The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.SourceDetail
withMessageType(MessageType messageType)
The type of SNS message that triggers AWS Config to run an evaluation.SourceDetail
withMessageType(String messageType)
The type of SNS message that triggers AWS Config to run an evaluation.
-
-
-
Method Detail
-
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:
EventSource
-
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:
EventSource
-
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:
EventSource
-
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:
EventSource
-
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:
EventSource
-
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 useConfigurationSnapshotDeliveryCompleted
.- 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 useConfigurationItemChangeNotification
. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must useConfigurationSnapshotDeliveryCompleted
.- See Also:
MessageType
-
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 useConfigurationSnapshotDeliveryCompleted
.- 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 useConfigurationSnapshotDeliveryCompleted
. - See Also:
MessageType
-
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 useConfigurationSnapshotDeliveryCompleted
.- 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 useConfigurationItemChangeNotification
. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must useConfigurationSnapshotDeliveryCompleted
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageType
-
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 useConfigurationSnapshotDeliveryCompleted
.- 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 useConfigurationItemChangeNotification
. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must useConfigurationSnapshotDeliveryCompleted
.- See Also:
MessageType
-
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 useConfigurationSnapshotDeliveryCompleted
.- 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 useConfigurationItemChangeNotification
. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must useConfigurationSnapshotDeliveryCompleted
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageType
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SourceDetail clone()
-
-