Interface RemediationV2Item.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemediationV2Item.Builder,,RemediationV2Item> SdkBuilder<RemediationV2Item.Builder,,RemediationV2Item> SdkPojo
- Enclosing class:
RemediationV2Item
-
Method Summary
Modifier and TypeMethodDescriptiondefault RemediationV2Item.Builderguidance(Consumer<RemediationGuidance.Builder> guidance) The remediation target's guidance.guidance(RemediationGuidance guidance) The remediation target's guidance.default RemediationV2Item.Builderoutcome(Consumer<RemediationOutcome.Builder> outcome) The outcome of the remediation target's resolution.outcome(RemediationOutcome outcome) The outcome of the remediation target's resolution.The remediation target's priority.priority(RemediationPriority priority) The remediation target's priority.default RemediationV2Item.BuilderremediationSummary(Consumer<RemediationSummaryDetail.Builder> remediationSummary) A summary of the remediation target.remediationSummary(RemediationSummaryDetail remediationSummary) A summary of the remediation target.default RemediationV2Item.Builderresource(Consumer<RemediationResource.Builder> resource) The remediation target's associated resource.resource(RemediationResource resource) The remediation target's associated resource.The current status of the remediation target.status(RemediationStatus status) The current status of the remediation target.The unique identifier (ID) of the remediation target.default RemediationV2Item.Buildertrait(Consumer<RemediationTrait.Builder> trait) The trait associated with the remediation target.trait(RemediationTrait trait) The trait associated with the remediation target.The remediation target's last updated timestamp.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
targetUid
The unique identifier (ID) of the remediation target.
- Parameters:
targetUid- The unique identifier (ID) of the remediation target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcome
The outcome of the remediation target's resolution.
- Parameters:
outcome- The outcome of the remediation target's resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcome
The outcome of the remediation target's resolution.
This is a convenience method that creates an instance of theRemediationOutcome.Builderavoiding the need to create one manually viaRemediationOutcome.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutcome(RemediationOutcome).- Parameters:
outcome- a consumer that will call methods onRemediationOutcome.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The remediation target's priority. Valid values are
Critical,High,Medium, andLow.- Parameters:
priority- The remediation target's priority. Valid values areCritical,High,Medium, andLow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The remediation target's priority. Valid values are
Critical,High,Medium, andLow.- Parameters:
priority- The remediation target's priority. Valid values areCritical,High,Medium, andLow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remediationSummary
A summary of the remediation target.
- Parameters:
remediationSummary- A summary of the remediation target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationSummary
default RemediationV2Item.Builder remediationSummary(Consumer<RemediationSummaryDetail.Builder> remediationSummary) A summary of the remediation target.
This is a convenience method that creates an instance of theRemediationSummaryDetail.Builderavoiding the need to create one manually viaRemediationSummaryDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremediationSummary(RemediationSummaryDetail).- Parameters:
remediationSummary- a consumer that will call methods onRemediationSummaryDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
The remediation target's associated resource.
- Parameters:
resource- The remediation target's associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The remediation target's associated resource.
This is a convenience method that creates an instance of theRemediationResource.Builderavoiding the need to create one manually viaRemediationResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(RemediationResource).- Parameters:
resource- a consumer that will call methods onRemediationResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the remediation target.
-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
- Parameters:
status- The current status of the remediation target.-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current status of the remediation target.
-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
- Parameters:
status- The current status of the remediation target.-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
trait
The trait associated with the remediation target.
- Parameters:
trait- The trait associated with the remediation target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trait
The trait associated with the remediation target.
This is a convenience method that creates an instance of theRemediationTrait.Builderavoiding the need to create one manually viaRemediationTrait.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrait(RemediationTrait).- Parameters:
trait- a consumer that will call methods onRemediationTrait.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guidance
The remediation target's guidance. Returned only when
ShowGuidanceistruein the request.- Parameters:
guidance- The remediation target's guidance. Returned only whenShowGuidanceistruein the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guidance
The remediation target's guidance. Returned only when
This is a convenience method that creates an instance of theShowGuidanceistruein the request.RemediationGuidance.Builderavoiding the need to create one manually viaRemediationGuidance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toguidance(RemediationGuidance).- Parameters:
guidance- a consumer that will call methods onRemediationGuidance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The remediation target's last updated timestamp.
For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.
- Parameters:
updatedAt- The remediation target's last updated timestamp.For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestampsinvalid input: '<'/ a>.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-