Class AutomationRulesAction
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AutomationRulesAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomationRulesAction.Builder,AutomationRulesAction>
@Generated("software.amazon.awssdk:codegen") public final class AutomationRulesAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomationRulesAction.Builder,AutomationRulesAction>
One or more actions that Security Hub takes when a finding matches the defined criteria of a rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomationRulesAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomationRulesAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AutomationRulesFindingFieldsUpdatefindingFieldsUpdate()Specifies that the automation rule action is an update to a finding field.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AutomationRulesAction.Builder>serializableBuilderClass()AutomationRulesAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.AutomationRulesActionTypetype()Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.StringtypeAsString()Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final AutomationRulesActionType type()
Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
If the service returns an enum value that is not available in the current SDK version,
typewill returnAutomationRulesActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
- See Also:
AutomationRulesActionType
-
typeAsString
public final String typeAsString()
Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
If the service returns an enum value that is not available in the current SDK version,
typewill returnAutomationRulesActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
- See Also:
AutomationRulesActionType
-
findingFieldsUpdate
public final AutomationRulesFindingFieldsUpdate findingFieldsUpdate()
Specifies that the automation rule action is an update to a finding field.
- Returns:
- Specifies that the automation rule action is an update to a finding field.
-
toBuilder
public AutomationRulesAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomationRulesAction.Builder,AutomationRulesAction>
-
builder
public static AutomationRulesAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomationRulesAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-