Interface PutRemediationExceptionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<PutRemediationExceptionsRequest.Builder,,PutRemediationExceptionsRequest> SdkBuilder<PutRemediationExceptionsRequest.Builder,,PutRemediationExceptionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutRemediationExceptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigRuleName(String configRuleName) The name of the Config rule for which you want to create remediation exception.expirationTime(Instant expirationTime) The exception is automatically deleted after the expiration date.The message contains an explanation of the exception.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceKeys(Collection<RemediationExceptionResourceKey> resourceKeys) An exception list of resource exception keys to be processed with the current request.resourceKeys(Consumer<RemediationExceptionResourceKey.Builder>... resourceKeys) An exception list of resource exception keys to be processed with the current request.resourceKeys(RemediationExceptionResourceKey... resourceKeys) An exception list of resource exception 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 name of the Config rule for which you want to create remediation exception.
- Parameters:
configRuleName- The name of the Config rule for which you want to create remediation exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKeys
PutRemediationExceptionsRequest.Builder resourceKeys(Collection<RemediationExceptionResourceKey> resourceKeys) An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
- Parameters:
resourceKeys- An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKeys
PutRemediationExceptionsRequest.Builder resourceKeys(RemediationExceptionResourceKey... resourceKeys) An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
- Parameters:
resourceKeys- An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceKeys
PutRemediationExceptionsRequest.Builder resourceKeys(Consumer<RemediationExceptionResourceKey.Builder>... resourceKeys) An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
This is a convenience method that creates an instance of theRemediationExceptionResourceKey.Builderavoiding the need to create one manually viaRemediationExceptionResourceKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceKeys(List<RemediationExceptionResourceKey>).- Parameters:
resourceKeys- a consumer that will call methods onRemediationExceptionResourceKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message contains an explanation of the exception.
- Parameters:
message- The message contains an explanation of the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
The exception is automatically deleted after the expiration date.
- Parameters:
expirationTime- The exception is automatically deleted after the expiration date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutRemediationExceptionsRequest.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
PutRemediationExceptionsRequest.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.
-