@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomationRulesFindingFieldsUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria.
Constructor and Description |
---|
AutomationRulesFindingFieldsUpdate() |
Modifier and Type | Method and Description |
---|---|
AutomationRulesFindingFieldsUpdate |
addUserDefinedFieldsEntry(String key,
String value)
Add a single UserDefinedFields entry
|
AutomationRulesFindingFieldsUpdate |
clearUserDefinedFieldsEntries()
Removes all the entries added into UserDefinedFields.
|
AutomationRulesFindingFieldsUpdate |
clone() |
boolean |
equals(Object obj) |
Integer |
getConfidence()
The rule action updates the
Confidence field of a finding. |
Integer |
getCriticality()
The rule action updates the
Criticality field of a finding. |
NoteUpdate |
getNote() |
List<RelatedFinding> |
getRelatedFindings()
The rule action updates the
RelatedFindings field of a finding. |
SeverityUpdate |
getSeverity() |
List<String> |
getTypes()
The rule action updates the
Types field of a finding. |
Map<String,String> |
getUserDefinedFields()
The rule action updates the
UserDefinedFields field of a finding. |
String |
getVerificationState()
The rule action updates the
VerificationState field of a finding. |
WorkflowUpdate |
getWorkflow() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfidence(Integer confidence)
The rule action updates the
Confidence field of a finding. |
void |
setCriticality(Integer criticality)
The rule action updates the
Criticality field of a finding. |
void |
setNote(NoteUpdate note) |
void |
setRelatedFindings(Collection<RelatedFinding> relatedFindings)
The rule action updates the
RelatedFindings field of a finding. |
void |
setSeverity(SeverityUpdate severity) |
void |
setTypes(Collection<String> types)
The rule action updates the
Types field of a finding. |
void |
setUserDefinedFields(Map<String,String> userDefinedFields)
The rule action updates the
UserDefinedFields field of a finding. |
void |
setVerificationState(String verificationState)
The rule action updates the
VerificationState field of a finding. |
void |
setWorkflow(WorkflowUpdate workflow) |
String |
toString()
Returns a string representation of this object.
|
AutomationRulesFindingFieldsUpdate |
withConfidence(Integer confidence)
The rule action updates the
Confidence field of a finding. |
AutomationRulesFindingFieldsUpdate |
withCriticality(Integer criticality)
The rule action updates the
Criticality field of a finding. |
AutomationRulesFindingFieldsUpdate |
withNote(NoteUpdate note) |
AutomationRulesFindingFieldsUpdate |
withRelatedFindings(Collection<RelatedFinding> relatedFindings)
The rule action updates the
RelatedFindings field of a finding. |
AutomationRulesFindingFieldsUpdate |
withRelatedFindings(RelatedFinding... relatedFindings)
The rule action updates the
RelatedFindings field of a finding. |
AutomationRulesFindingFieldsUpdate |
withSeverity(SeverityUpdate severity) |
AutomationRulesFindingFieldsUpdate |
withTypes(Collection<String> types)
The rule action updates the
Types field of a finding. |
AutomationRulesFindingFieldsUpdate |
withTypes(String... types)
The rule action updates the
Types field of a finding. |
AutomationRulesFindingFieldsUpdate |
withUserDefinedFields(Map<String,String> userDefinedFields)
The rule action updates the
UserDefinedFields field of a finding. |
AutomationRulesFindingFieldsUpdate |
withVerificationState(String verificationState)
The rule action updates the
VerificationState field of a finding. |
AutomationRulesFindingFieldsUpdate |
withVerificationState(VerificationState verificationState)
The rule action updates the
VerificationState field of a finding. |
AutomationRulesFindingFieldsUpdate |
withWorkflow(WorkflowUpdate workflow) |
public void setNote(NoteUpdate note)
note
- public NoteUpdate getNote()
public AutomationRulesFindingFieldsUpdate withNote(NoteUpdate note)
note
- public void setSeverity(SeverityUpdate severity)
severity
- public SeverityUpdate getSeverity()
public AutomationRulesFindingFieldsUpdate withSeverity(SeverityUpdate severity)
severity
- public void setVerificationState(String verificationState)
The rule action updates the VerificationState
field of a finding.
verificationState
- The rule action updates the VerificationState
field of a finding.VerificationState
public String getVerificationState()
The rule action updates the VerificationState
field of a finding.
VerificationState
field of a finding.VerificationState
public AutomationRulesFindingFieldsUpdate withVerificationState(String verificationState)
The rule action updates the VerificationState
field of a finding.
verificationState
- The rule action updates the VerificationState
field of a finding.VerificationState
public AutomationRulesFindingFieldsUpdate withVerificationState(VerificationState verificationState)
The rule action updates the VerificationState
field of a finding.
verificationState
- The rule action updates the VerificationState
field of a finding.VerificationState
public void setConfidence(Integer confidence)
The rule action updates the Confidence
field of a finding.
confidence
- The rule action updates the Confidence
field of a finding.public Integer getConfidence()
The rule action updates the Confidence
field of a finding.
Confidence
field of a finding.public AutomationRulesFindingFieldsUpdate withConfidence(Integer confidence)
The rule action updates the Confidence
field of a finding.
confidence
- The rule action updates the Confidence
field of a finding.public void setCriticality(Integer criticality)
The rule action updates the Criticality
field of a finding.
criticality
- The rule action updates the Criticality
field of a finding.public Integer getCriticality()
The rule action updates the Criticality
field of a finding.
Criticality
field of a finding.public AutomationRulesFindingFieldsUpdate withCriticality(Integer criticality)
The rule action updates the Criticality
field of a finding.
criticality
- The rule action updates the Criticality
field of a finding.public List<String> getTypes()
The rule action updates the Types
field of a finding.
Types
field of a finding.public void setTypes(Collection<String> types)
The rule action updates the Types
field of a finding.
types
- The rule action updates the Types
field of a finding.public AutomationRulesFindingFieldsUpdate withTypes(String... types)
The rule action updates the Types
field of a finding.
NOTE: This method appends the values to the existing list (if any). Use
setTypes(java.util.Collection)
or withTypes(java.util.Collection)
if you want to override the
existing values.
types
- The rule action updates the Types
field of a finding.public AutomationRulesFindingFieldsUpdate withTypes(Collection<String> types)
The rule action updates the Types
field of a finding.
types
- The rule action updates the Types
field of a finding.public Map<String,String> getUserDefinedFields()
The rule action updates the UserDefinedFields
field of a finding.
UserDefinedFields
field of a finding.public void setUserDefinedFields(Map<String,String> userDefinedFields)
The rule action updates the UserDefinedFields
field of a finding.
userDefinedFields
- The rule action updates the UserDefinedFields
field of a finding.public AutomationRulesFindingFieldsUpdate withUserDefinedFields(Map<String,String> userDefinedFields)
The rule action updates the UserDefinedFields
field of a finding.
userDefinedFields
- The rule action updates the UserDefinedFields
field of a finding.public AutomationRulesFindingFieldsUpdate addUserDefinedFieldsEntry(String key, String value)
public AutomationRulesFindingFieldsUpdate clearUserDefinedFieldsEntries()
public void setWorkflow(WorkflowUpdate workflow)
workflow
- public WorkflowUpdate getWorkflow()
public AutomationRulesFindingFieldsUpdate withWorkflow(WorkflowUpdate workflow)
workflow
- public List<RelatedFinding> getRelatedFindings()
The rule action updates the RelatedFindings
field of a finding.
RelatedFindings
field of a finding.public void setRelatedFindings(Collection<RelatedFinding> relatedFindings)
The rule action updates the RelatedFindings
field of a finding.
relatedFindings
- The rule action updates the RelatedFindings
field of a finding.public AutomationRulesFindingFieldsUpdate withRelatedFindings(RelatedFinding... relatedFindings)
The rule action updates the RelatedFindings
field of a finding.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedFindings(java.util.Collection)
or withRelatedFindings(java.util.Collection)
if you
want to override the existing values.
relatedFindings
- The rule action updates the RelatedFindings
field of a finding.public AutomationRulesFindingFieldsUpdate withRelatedFindings(Collection<RelatedFinding> relatedFindings)
The rule action updates the RelatedFindings
field of a finding.
relatedFindings
- The rule action updates the RelatedFindings
field of a finding.public String toString()
toString
in class Object
Object.toString()
public AutomationRulesFindingFieldsUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.