Interface AutomationRulesFindingFieldsUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomationRulesFindingFieldsUpdate.Builder,AutomationRulesFindingFieldsUpdate>,SdkBuilder<AutomationRulesFindingFieldsUpdate.Builder,AutomationRulesFindingFieldsUpdate>,SdkPojo
- Enclosing class:
- AutomationRulesFindingFieldsUpdate
public static interface AutomationRulesFindingFieldsUpdate.Builder extends SdkPojo, CopyableBuilder<AutomationRulesFindingFieldsUpdate.Builder,AutomationRulesFindingFieldsUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutomationRulesFindingFieldsUpdate.Builderconfidence(Integer confidence)The rule action updates theConfidencefield of a finding.AutomationRulesFindingFieldsUpdate.Buildercriticality(Integer criticality)The rule action updates theCriticalityfield of a finding.default AutomationRulesFindingFieldsUpdate.Buildernote(Consumer<NoteUpdate.Builder> note)Sets the value of the Note property for this object.AutomationRulesFindingFieldsUpdate.Buildernote(NoteUpdate note)Sets the value of the Note property for this object.AutomationRulesFindingFieldsUpdate.BuilderrelatedFindings(Collection<RelatedFinding> relatedFindings)The rule action updates theRelatedFindingsfield of a finding.AutomationRulesFindingFieldsUpdate.BuilderrelatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)The rule action updates theRelatedFindingsfield of a finding.AutomationRulesFindingFieldsUpdate.BuilderrelatedFindings(RelatedFinding... relatedFindings)The rule action updates theRelatedFindingsfield of a finding.default AutomationRulesFindingFieldsUpdate.Builderseverity(Consumer<SeverityUpdate.Builder> severity)Sets the value of the Severity property for this object.AutomationRulesFindingFieldsUpdate.Builderseverity(SeverityUpdate severity)Sets the value of the Severity property for this object.AutomationRulesFindingFieldsUpdate.Buildertypes(String... types)The rule action updates theTypesfield of a finding.AutomationRulesFindingFieldsUpdate.Buildertypes(Collection<String> types)The rule action updates theTypesfield of a finding.AutomationRulesFindingFieldsUpdate.BuilderuserDefinedFields(Map<String,String> userDefinedFields)The rule action updates theUserDefinedFieldsfield of a finding.AutomationRulesFindingFieldsUpdate.BuilderverificationState(String verificationState)The rule action updates theVerificationStatefield of a finding.AutomationRulesFindingFieldsUpdate.BuilderverificationState(VerificationState verificationState)The rule action updates theVerificationStatefield of a finding.default AutomationRulesFindingFieldsUpdate.Builderworkflow(Consumer<WorkflowUpdate.Builder> workflow)Sets the value of the Workflow property for this object.AutomationRulesFindingFieldsUpdate.Builderworkflow(WorkflowUpdate workflow)Sets the value of the Workflow property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
note
AutomationRulesFindingFieldsUpdate.Builder note(NoteUpdate note)
Sets the value of the Note property for this object.- Parameters:
note- The new value for the Note property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
note
default AutomationRulesFindingFieldsUpdate.Builder note(Consumer<NoteUpdate.Builder> note)
Sets the value of the Note property for this object. This is a convenience method that creates an instance of theNoteUpdate.Builderavoiding the need to create one manually viaNoteUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonote(NoteUpdate).- Parameters:
note- a consumer that will call methods onNoteUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
note(NoteUpdate)
-
severity
AutomationRulesFindingFieldsUpdate.Builder severity(SeverityUpdate severity)
Sets the value of the Severity property for this object.- Parameters:
severity- The new value for the Severity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
default AutomationRulesFindingFieldsUpdate.Builder severity(Consumer<SeverityUpdate.Builder> severity)
Sets the value of the Severity property for this object. This is a convenience method that creates an instance of theSeverityUpdate.Builderavoiding the need to create one manually viaSeverityUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverity(SeverityUpdate).- Parameters:
severity- a consumer that will call methods onSeverityUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
severity(SeverityUpdate)
-
verificationState
AutomationRulesFindingFieldsUpdate.Builder verificationState(String verificationState)
The rule action updates the
VerificationStatefield of a finding.- Parameters:
verificationState- The rule action updates theVerificationStatefield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerificationState,VerificationState
-
verificationState
AutomationRulesFindingFieldsUpdate.Builder verificationState(VerificationState verificationState)
The rule action updates the
VerificationStatefield of a finding.- Parameters:
verificationState- The rule action updates theVerificationStatefield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerificationState,VerificationState
-
confidence
AutomationRulesFindingFieldsUpdate.Builder confidence(Integer confidence)
The rule action updates the
Confidencefield of a finding.- Parameters:
confidence- The rule action updates theConfidencefield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criticality
AutomationRulesFindingFieldsUpdate.Builder criticality(Integer criticality)
The rule action updates the
Criticalityfield of a finding.- Parameters:
criticality- The rule action updates theCriticalityfield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
AutomationRulesFindingFieldsUpdate.Builder types(Collection<String> types)
The rule action updates the
Typesfield of a finding.- Parameters:
types- The rule action updates theTypesfield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
AutomationRulesFindingFieldsUpdate.Builder types(String... types)
The rule action updates the
Typesfield of a finding.- Parameters:
types- The rule action updates theTypesfield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDefinedFields
AutomationRulesFindingFieldsUpdate.Builder userDefinedFields(Map<String,String> userDefinedFields)
The rule action updates the
UserDefinedFieldsfield of a finding.- Parameters:
userDefinedFields- The rule action updates theUserDefinedFieldsfield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflow
AutomationRulesFindingFieldsUpdate.Builder workflow(WorkflowUpdate workflow)
Sets the value of the Workflow property for this object.- Parameters:
workflow- The new value for the Workflow property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflow
default AutomationRulesFindingFieldsUpdate.Builder workflow(Consumer<WorkflowUpdate.Builder> workflow)
Sets the value of the Workflow property for this object. This is a convenience method that creates an instance of theWorkflowUpdate.Builderavoiding the need to create one manually viaWorkflowUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflow(WorkflowUpdate).- Parameters:
workflow- a consumer that will call methods onWorkflowUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workflow(WorkflowUpdate)
-
relatedFindings
AutomationRulesFindingFieldsUpdate.Builder relatedFindings(Collection<RelatedFinding> relatedFindings)
The rule action updates the
RelatedFindingsfield of a finding.- Parameters:
relatedFindings- The rule action updates theRelatedFindingsfield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedFindings
AutomationRulesFindingFieldsUpdate.Builder relatedFindings(RelatedFinding... relatedFindings)
The rule action updates the
RelatedFindingsfield of a finding.- Parameters:
relatedFindings- The rule action updates theRelatedFindingsfield of a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedFindings
AutomationRulesFindingFieldsUpdate.Builder relatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)
The rule action updates the
This is a convenience method that creates an instance of theRelatedFindingsfield of a finding.RelatedFinding.Builderavoiding the need to create one manually viaRelatedFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#relatedFindings(List.) - Parameters:
relatedFindings- a consumer that will call methods onRelatedFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#relatedFindings(java.util.Collection)
-
-