Interface AgentRecommendationRemediation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentRecommendationRemediation.Builder,,AgentRecommendationRemediation> SdkBuilder<AgentRecommendationRemediation.Builder,,AgentRecommendationRemediation> SdkPojo
- Enclosing class:
AgentRecommendationRemediation
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the remediation was created.The identifier of the user or system that created this remediation.lastModifiedAt(Instant lastModifiedAt) The timestamp when the remediation was last modified.lastModifiedBy(String lastModifiedBy) The identifier of the user or system that last modified this remediation.recommendationArn(String recommendationArn) The ARN of the recommendation that this remediation belongs to.resourceLinks(Collection<ResourceLink> resourceLinks) External references associated with the steps.resourceLinks(Consumer<ResourceLink.Builder>... resourceLinks) External references associated with the steps.resourceLinks(ResourceLink... resourceLinks) External references associated with the steps.steps(Collection<RemediationStep> steps) The procedural steps to perform the remediation.steps(Consumer<RemediationStep.Builder>... steps) The procedural steps to perform the remediation.steps(RemediationStep... steps) The procedural steps to perform the remediation.The remediation method.type(RemediationType type) The remediation method.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
-
recommendationArn
The ARN of the recommendation that this remediation belongs to.
- Parameters:
recommendationArn- The ARN of the recommendation that this remediation belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The remediation method.
- Parameters:
type- The remediation method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The remediation method.
- Parameters:
type- The remediation method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
steps
The procedural steps to perform the remediation.
- Parameters:
steps- The procedural steps to perform the remediation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The procedural steps to perform the remediation.
- Parameters:
steps- The procedural steps to perform the remediation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The procedural steps to perform the remediation.
This is a convenience method that creates an instance of theRemediationStep.Builderavoiding the need to create one manually viaRemediationStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<RemediationStep>).- Parameters:
steps- a consumer that will call methods onRemediationStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceLinks
External references associated with the steps.
- Parameters:
resourceLinks- External references associated with the steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceLinks
External references associated with the steps.
- Parameters:
resourceLinks- External references associated with the steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceLinks
AgentRecommendationRemediation.Builder resourceLinks(Consumer<ResourceLink.Builder>... resourceLinks) External references associated with the steps.
This is a convenience method that creates an instance of theResourceLink.Builderavoiding the need to create one manually viaResourceLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceLinks(List<ResourceLink>).- Parameters:
resourceLinks- a consumer that will call methods onResourceLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
The identifier of the user or system that created this remediation.
- Parameters:
createdBy- The identifier of the user or system that created this remediation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the remediation was created.
- Parameters:
createdAt- The timestamp when the remediation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
The identifier of the user or system that last modified this remediation.
- Parameters:
lastModifiedBy- The identifier of the user or system that last modified this remediation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
The timestamp when the remediation was last modified.
- Parameters:
lastModifiedAt- The timestamp when the remediation was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-