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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartRemediationExecutionRequest.BuilderconfigRuleName(String configRuleName)The list of names of Config rules that you want to run remediation execution for.StartRemediationExecutionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartRemediationExecutionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartRemediationExecutionRequest.BuilderresourceKeys(Collection<ResourceKey> resourceKeys)A list of resource keys to be processed with the current request.StartRemediationExecutionRequest.BuilderresourceKeys(Consumer<ResourceKey.Builder>... resourceKeys)A list of resource keys to be processed with the current request.StartRemediationExecutionRequest.BuilderresourceKeys(ResourceKey... resourceKeys)A list of resource keys to be processed with the current request.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
configRuleName
StartRemediationExecutionRequest.Builder configRuleName(String 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
StartRemediationExecutionRequest.Builder resourceKeys(Collection<ResourceKey> 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(ResourceKey... 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 to#resourceKeys(List.) - 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:
#resourceKeys(java.util.Collection)
-
overrideConfiguration
StartRemediationExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartRemediationExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-