@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomationRulesAction extends Object implements Serializable, Cloneable, StructuredPojo
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
Constructor and Description |
---|
AutomationRulesAction() |
Modifier and Type | Method and Description |
---|---|
AutomationRulesAction |
clone() |
boolean |
equals(Object obj) |
AutomationRulesFindingFieldsUpdate |
getFindingFieldsUpdate()
Specifies that the automation rule action is an update to a finding field.
|
String |
getType()
Specifies that the rule action should update the
Types finding field. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate findingFieldsUpdate)
Specifies that the automation rule action is an update to a finding field.
|
void |
setType(String type)
Specifies that the rule action should update the
Types finding field. |
String |
toString()
Returns a string representation of this object.
|
AutomationRulesAction |
withFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate findingFieldsUpdate)
Specifies that the automation rule action is an update to a finding field.
|
AutomationRulesAction |
withType(AutomationRulesActionType type)
Specifies that the rule action should update the
Types finding field. |
AutomationRulesAction |
withType(String type)
Specifies that the rule action should update the
Types finding field. |
public void setType(String type)
Specifies that the rule action should update the Types
finding field. The Types
finding
field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
type
- Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information,
see Types taxonomy for ASFF in the Security Hub User Guide.AutomationRulesActionType
public String getType()
Specifies that the rule action should update the Types
finding field. The Types
finding
field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information,
see Types taxonomy for ASFF in the Security Hub User Guide.AutomationRulesActionType
public AutomationRulesAction withType(String type)
Specifies that the rule action should update the Types
finding field. The Types
finding
field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
type
- Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information,
see Types taxonomy for ASFF in the Security Hub User Guide.AutomationRulesActionType
public AutomationRulesAction withType(AutomationRulesActionType type)
Specifies that the rule action should update the Types
finding field. The Types
finding
field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
type
- Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information,
see Types taxonomy for ASFF in the Security Hub User Guide.AutomationRulesActionType
public void setFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate findingFieldsUpdate)
Specifies that the automation rule action is an update to a finding field.
findingFieldsUpdate
- Specifies that the automation rule action is an update to a finding field.public AutomationRulesFindingFieldsUpdate getFindingFieldsUpdate()
Specifies that the automation rule action is an update to a finding field.
public AutomationRulesAction withFindingFieldsUpdate(AutomationRulesFindingFieldsUpdate findingFieldsUpdate)
Specifies that the automation rule action is an update to a finding field.
findingFieldsUpdate
- Specifies that the automation rule action is an update to a finding field.public String toString()
toString
in class Object
Object.toString()
public AutomationRulesAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.