public static interface PutRemediationExceptionsRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutRemediationExceptionsRequest.Builder,PutRemediationExceptionsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutRemediationExceptionsRequest.Builder |
configRuleName(String configRuleName)
The name of the Config rule for which you want to create remediation exception.
|
PutRemediationExceptionsRequest.Builder |
expirationTime(Instant expirationTime)
The exception is automatically deleted after the expiration date.
|
PutRemediationExceptionsRequest.Builder |
message(String message)
The message contains an explanation of the exception.
|
PutRemediationExceptionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutRemediationExceptionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutRemediationExceptionsRequest.Builder |
resourceKeys(Collection<RemediationExceptionResourceKey> resourceKeys)
An exception list of resource exception keys to be processed with the current request.
|
PutRemediationExceptionsRequest.Builder |
resourceKeys(Consumer<RemediationExceptionResourceKey.Builder>... resourceKeys)
An exception list of resource exception keys to be processed with the current request.
|
PutRemediationExceptionsRequest.Builder |
resourceKeys(RemediationExceptionResourceKey... resourceKeys)
An exception list of resource exception keys to be processed with the current request.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutRemediationExceptionsRequest.Builder configRuleName(String configRuleName)
The name of the Config rule for which you want to create remediation exception.
configRuleName - The name of the Config rule for which you want to create remediation exception.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.
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.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.
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.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.Builder avoiding the
need to create one manually via
RemediationExceptionResourceKey.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #resourceKeys(List.
resourceKeys - a consumer that will call methods on
RemediationExceptionResourceKey.Builder#resourceKeys(java.util.Collection) PutRemediationExceptionsRequest.Builder message(String message)
The message contains an explanation of the exception.
message - The message contains an explanation of the exception.PutRemediationExceptionsRequest.Builder expirationTime(Instant expirationTime)
The exception is automatically deleted after the expiration date.
expirationTime - The exception is automatically deleted after the expiration date.PutRemediationExceptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutRemediationExceptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.