Class SourceDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceDetail.Builder,SourceDetail>
Provides the source and the message types that trigger Config to evaluate your Amazon Web Services resources against
a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type
is periodic. You can specify the parameter values for SourceDetail only for custom rules.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceDetail.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final EventSourceThe source of the event, such as an Amazon Web Services service, that triggers Config to evaluate your Amazon Web Services resources.final StringThe source of the event, such as an Amazon Web Services service, that triggers Config to evaluate your Amazon Web Services resources.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()The frequency at which you want Config to run evaluations for a custom rule with a periodic trigger.final StringThe frequency at which you want Config to run evaluations for a custom rule with a periodic trigger.final MessageTypeThe type of notification that triggers Config to run an evaluation for a rule.final StringThe type of notification that triggers Config to run an evaluation for a rule.static Class<? extends SourceDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
eventSource
The source of the event, such as an Amazon Web Services service, that triggers Config to evaluate your Amazon Web Services resources.
If the service returns an enum value that is not available in the current SDK version,
eventSourcewill returnEventSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventSourceAsString().- Returns:
- The source of the event, such as an Amazon Web Services service, that triggers Config to evaluate your Amazon Web Services resources.
- See Also:
-
eventSourceAsString
The source of the event, such as an Amazon Web Services service, that triggers Config to evaluate your Amazon Web Services resources.
If the service returns an enum value that is not available in the current SDK version,
eventSourcewill returnEventSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventSourceAsString().- Returns:
- The source of the event, such as an Amazon Web Services service, that triggers Config to evaluate your Amazon Web Services resources.
- See Also:
-
messageType
The type of notification that triggers Config to run an evaluation for a rule. You can specify the following notification types:
-
ConfigurationItemChangeNotification- Triggers an evaluation when Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification- Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. -
ScheduledNotification- Triggers a periodic evaluation at the frequency specified forMaximumExecutionFrequency. -
ConfigurationSnapshotDeliveryCompleted- Triggers a periodic evaluation when Config delivers a configuration snapshot.
If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for
ConfigurationItemChangeNotificationand one forOversizedConfigurationItemChangeNotification.If the service returns an enum value that is not available in the current SDK version,
messageTypewill returnMessageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommessageTypeAsString().- Returns:
- The type of notification that triggers Config to run an evaluation for a rule. You can specify the
following notification types:
-
ConfigurationItemChangeNotification- Triggers an evaluation when Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification- Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. -
ScheduledNotification- Triggers a periodic evaluation at the frequency specified forMaximumExecutionFrequency. -
ConfigurationSnapshotDeliveryCompleted- Triggers a periodic evaluation when Config delivers a configuration snapshot.
If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for
ConfigurationItemChangeNotificationand one forOversizedConfigurationItemChangeNotification. -
- See Also:
-
-
messageTypeAsString
The type of notification that triggers Config to run an evaluation for a rule. You can specify the following notification types:
-
ConfigurationItemChangeNotification- Triggers an evaluation when Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification- Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. -
ScheduledNotification- Triggers a periodic evaluation at the frequency specified forMaximumExecutionFrequency. -
ConfigurationSnapshotDeliveryCompleted- Triggers a periodic evaluation when Config delivers a configuration snapshot.
If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for
ConfigurationItemChangeNotificationand one forOversizedConfigurationItemChangeNotification.If the service returns an enum value that is not available in the current SDK version,
messageTypewill returnMessageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommessageTypeAsString().- Returns:
- The type of notification that triggers Config to run an evaluation for a rule. You can specify the
following notification types:
-
ConfigurationItemChangeNotification- Triggers an evaluation when Config delivers a configuration item as a result of a resource change. -
OversizedConfigurationItemChangeNotification- Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. -
ScheduledNotification- Triggers a periodic evaluation at the frequency specified forMaximumExecutionFrequency. -
ConfigurationSnapshotDeliveryCompleted- Triggers a periodic evaluation when Config delivers a configuration snapshot.
If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for
ConfigurationItemChangeNotificationand one forOversizedConfigurationItemChangeNotification. -
- See Also:
-
-
maximumExecutionFrequency
The frequency at which you want Config to run evaluations for a custom rule with a periodic trigger. If you specify a value for
MaximumExecutionFrequency, thenMessageTypemust use theScheduledNotificationvalue.By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the
MaximumExecutionFrequencyparameter.Based on the valid value you choose, Config runs evaluations once for each valid value. For example, if you choose
Three_Hours, Config runs evaluations once every three hours. In this case,Three_Hoursis the frequency of this rule.If the service returns an enum value that is not available in the current SDK version,
maximumExecutionFrequencywill returnMaximumExecutionFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommaximumExecutionFrequencyAsString().- Returns:
- The frequency at which you want Config to run evaluations for a custom rule with a periodic trigger. If
you specify a value for
MaximumExecutionFrequency, thenMessageTypemust use theScheduledNotificationvalue.By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the
MaximumExecutionFrequencyparameter.Based on the valid value you choose, Config runs evaluations once for each valid value. For example, if you choose
Three_Hours, Config runs evaluations once every three hours. In this case,Three_Hoursis the frequency of this rule. - See Also:
-
maximumExecutionFrequencyAsString
The frequency at which you want Config to run evaluations for a custom rule with a periodic trigger. If you specify a value for
MaximumExecutionFrequency, thenMessageTypemust use theScheduledNotificationvalue.By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the
MaximumExecutionFrequencyparameter.Based on the valid value you choose, Config runs evaluations once for each valid value. For example, if you choose
Three_Hours, Config runs evaluations once every three hours. In this case,Three_Hoursis the frequency of this rule.If the service returns an enum value that is not available in the current SDK version,
maximumExecutionFrequencywill returnMaximumExecutionFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommaximumExecutionFrequencyAsString().- Returns:
- The frequency at which you want Config to run evaluations for a custom rule with a periodic trigger. If
you specify a value for
MaximumExecutionFrequency, thenMessageTypemust use theScheduledNotificationvalue.By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the
MaximumExecutionFrequencyparameter.Based on the valid value you choose, Config runs evaluations once for each valid value. For example, if you choose
Three_Hours, Config runs evaluations once every three hours. In this case,Three_Hoursis the frequency of this rule. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceDetail.Builder,SourceDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-