Interface RemediationGuidanceSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemediationGuidanceSpecification.Builder,,RemediationGuidanceSpecification> SdkBuilder<RemediationGuidanceSpecification.Builder,,RemediationGuidanceSpecification> SdkPojo
- Enclosing class:
RemediationGuidanceSpecification
-
Method Summary
Modifier and TypeMethodDescriptionexpectedEndState(String expectedEndState) The expected end state of the associated resources after completion of the steps.parameters(Collection<RemediationParameter> parameters) An array of the parameters used in running the steps provided.parameters(Consumer<RemediationParameter.Builder>... parameters) An array of the parameters used in running the steps provided.parameters(RemediationParameter... parameters) An array of the parameters used in running the steps provided.requiredPermissions(String... requiredPermissions) An array of required permissions to run the steps.requiredPermissions(Collection<String> requiredPermissions) An array of required permissions to run the steps.steps(Collection<RemediationStep> steps) An array of ordered steps for resolving the remediation targets.steps(Consumer<RemediationStep.Builder>... steps) An array of ordered steps for resolving the remediation targets.steps(RemediationStep... steps) An array of ordered steps for resolving the remediation targets.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
-
parameters
An array of the parameters used in running the steps provided.
- Parameters:
parameters- An array of the parameters used in running the steps provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
An array of the parameters used in running the steps provided.
- Parameters:
parameters- An array of the parameters used in running the steps provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
RemediationGuidanceSpecification.Builder parameters(Consumer<RemediationParameter.Builder>... parameters) An array of the parameters used in running the steps provided.
This is a convenience method that creates an instance of theRemediationParameter.Builderavoiding the need to create one manually viaRemediationParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(List<RemediationParameter>).- Parameters:
parameters- a consumer that will call methods onRemediationParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
steps
An array of ordered steps for resolving the remediation targets.
- Parameters:
steps- An array of ordered steps for resolving the remediation targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
An array of ordered steps for resolving the remediation targets.
- Parameters:
steps- An array of ordered steps for resolving the remediation targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
An array of ordered steps for resolving the remediation targets.
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:
-
expectedEndState
The expected end state of the associated resources after completion of the steps.
- Parameters:
expectedEndState- The expected end state of the associated resources after completion of the steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredPermissions
RemediationGuidanceSpecification.Builder requiredPermissions(Collection<String> requiredPermissions) An array of required permissions to run the steps.
- Parameters:
requiredPermissions- An array of required permissions to run the steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredPermissions
An array of required permissions to run the steps.
- Parameters:
requiredPermissions- An array of required permissions to run the steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-