Interface RemediationGuidance.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemediationGuidance.Builder,,RemediationGuidance> SdkBuilder<RemediationGuidance.Builder,,RemediationGuidance> SdkPojo
- Enclosing class:
RemediationGuidance
-
Method Summary
Modifier and TypeMethodDescriptiondefault RemediationGuidance.BuilderThe context behind the remediation target's existence and guidance.context(RemediationGuidanceContext context) The context behind the remediation target's existence and guidance.default RemediationGuidance.Builderexamples(Consumer<RemediationGuidanceExamples.Builder> examples) Provided remediation guidance examples in different formats that can be run for remediating the target.examples(RemediationGuidanceExamples examples) Provided remediation guidance examples in different formats that can be run for remediating the target.default RemediationGuidance.Buildermetadata(Consumer<RemediationGuidanceMetadata.Builder> metadata) The metadata of the remediation guidance.metadata(RemediationGuidanceMetadata metadata) The metadata of the remediation guidance.The remediation pattern of the remediation target.default RemediationGuidance.Builderspecification(Consumer<RemediationGuidanceSpecification.Builder> specification) The specification of the remediation target guidance.specification(RemediationGuidanceSpecification specification) The specification of the remediation target guidance.targetTypeName(String targetTypeName) The name of the remediation target type.The guidance version.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
-
targetTypeName
The name of the remediation target type.
- Parameters:
targetTypeName- The name of the remediation target type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
The remediation pattern of the remediation target.
- Parameters:
pattern- The remediation pattern of the remediation target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The guidance version.
- Parameters:
version- The guidance version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
The context behind the remediation target's existence and guidance.
- Parameters:
context- The context behind the remediation target's existence and guidance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
The context behind the remediation target's existence and guidance.
This is a convenience method that creates an instance of theRemediationGuidanceContext.Builderavoiding the need to create one manually viaRemediationGuidanceContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontext(RemediationGuidanceContext).- Parameters:
context- a consumer that will call methods onRemediationGuidanceContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specification
The specification of the remediation target guidance. This outlines required resource parameters and permissions, remediation steps, and the end state.
- Parameters:
specification- The specification of the remediation target guidance. This outlines required resource parameters and permissions, remediation steps, and the end state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
default RemediationGuidance.Builder specification(Consumer<RemediationGuidanceSpecification.Builder> specification) The specification of the remediation target guidance. This outlines required resource parameters and permissions, remediation steps, and the end state.
This is a convenience method that creates an instance of theRemediationGuidanceSpecification.Builderavoiding the need to create one manually viaRemediationGuidanceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospecification(RemediationGuidanceSpecification).- Parameters:
specification- a consumer that will call methods onRemediationGuidanceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
examples
Provided remediation guidance examples in different formats that can be run for remediating the target.
- Parameters:
examples- Provided remediation guidance examples in different formats that can be run for remediating the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
examples
default RemediationGuidance.Builder examples(Consumer<RemediationGuidanceExamples.Builder> examples) Provided remediation guidance examples in different formats that can be run for remediating the target.
This is a convenience method that creates an instance of theRemediationGuidanceExamples.Builderavoiding the need to create one manually viaRemediationGuidanceExamples.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexamples(RemediationGuidanceExamples).- Parameters:
examples- a consumer that will call methods onRemediationGuidanceExamples.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
The metadata of the remediation guidance.
- Parameters:
metadata- The metadata of the remediation guidance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default RemediationGuidance.Builder metadata(Consumer<RemediationGuidanceMetadata.Builder> metadata) The metadata of the remediation guidance.
This is a convenience method that creates an instance of theRemediationGuidanceMetadata.Builderavoiding the need to create one manually viaRemediationGuidanceMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(RemediationGuidanceMetadata).- Parameters:
metadata- a consumer that will call methods onRemediationGuidanceMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-