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.
Constructor and Description |
---|
SourceDetail() |
Modifier and Type | Method and 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.
|
public String getEventSource()
Constraints:
Allowed Values: aws.config
EventSource
public void setEventSource(String eventSource)
Constraints:
Allowed Values: aws.config
eventSource
- The source of the event, such as an AWS service, that triggers AWS
Config to evaluate your AWS resources.EventSource
public SourceDetail withEventSource(String eventSource)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: aws.config
eventSource
- The source of the event, such as an AWS service, that triggers AWS
Config to evaluate your AWS resources.EventSource
public void setEventSource(EventSource eventSource)
Constraints:
Allowed Values: aws.config
eventSource
- The source of the event, such as an AWS service, that triggers AWS
Config to evaluate your AWS resources.EventSource
public SourceDetail withEventSource(EventSource eventSource)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: aws.config
eventSource
- The source of the event, such as an AWS service, that triggers AWS
Config to evaluate your AWS resources.EventSource
public String getMessageType()
ConfigurationItemChangeNotification
. For evaluations that
are initiated when AWS Config delivers a configuration snapshot, you
must use ConfigurationSnapshotDeliveryCompleted
.
Constraints:
Allowed Values: ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted
ConfigurationItemChangeNotification
. For evaluations that
are initiated when AWS Config delivers a configuration snapshot, you
must use ConfigurationSnapshotDeliveryCompleted
.MessageType
public void setMessageType(String messageType)
ConfigurationItemChangeNotification
. For evaluations that
are initiated when AWS Config delivers a configuration snapshot, you
must use ConfigurationSnapshotDeliveryCompleted
.
Constraints:
Allowed Values: ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted
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
.MessageType
public SourceDetail withMessageType(String messageType)
ConfigurationItemChangeNotification
. For evaluations that
are initiated when AWS Config delivers a configuration snapshot, you
must use ConfigurationSnapshotDeliveryCompleted
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted
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
.MessageType
public void setMessageType(MessageType messageType)
ConfigurationItemChangeNotification
. For evaluations that
are initiated when AWS Config delivers a configuration snapshot, you
must use ConfigurationSnapshotDeliveryCompleted
.
Constraints:
Allowed Values: ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted
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
.MessageType
public SourceDetail withMessageType(MessageType messageType)
ConfigurationItemChangeNotification
. For evaluations that
are initiated when AWS Config delivers a configuration snapshot, you
must use ConfigurationSnapshotDeliveryCompleted
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted
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
.MessageType
public String toString()
toString
in class Object
Object.toString()
public SourceDetail clone()
Copyright © 2015. All rights reserved.