Interface StartRemediationExecutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<StartRemediationExecutionRequest.Builder,,StartRemediationExecutionRequest> SdkBuilder<StartRemediationExecutionRequest.Builder,,StartRemediationExecutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartRemediationExecutionRequest
public static interface StartRemediationExecutionRequest.Builder
extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<StartRemediationExecutionRequest.Builder,StartRemediationExecutionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfigRuleName(String configRuleName) The list of names of Config rules that you want to run remediation execution for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceKeys(Collection<ResourceKey> resourceKeys) A list of resource keys to be processed with the current request.resourceKeys(Consumer<ResourceKey.Builder>... resourceKeys) A list of resource keys to be processed with the current request.resourceKeys(ResourceKey... resourceKeys) A list of resource keys to be processed with the current request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
configRuleName
The list of names of Config rules that you want to run remediation execution for.
- Parameters:
configRuleName- The list of names of Config rules that you want to run remediation execution for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKeys
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
- Parameters:
resourceKeys- A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKeys
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
- Parameters:
resourceKeys- A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKeys
StartRemediationExecutionRequest.Builder resourceKeys(Consumer<ResourceKey.Builder>... resourceKeys) A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
This is a convenience method that creates an instance of theResourceKey.Builderavoiding the need to create one manually viaResourceKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceKeys(List<ResourceKey>).- Parameters:
resourceKeys- a consumer that will call methods onResourceKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartRemediationExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartRemediationExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-