Interface PutRemediationExceptionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<PutRemediationExceptionsRequest.Builder,PutRemediationExceptionsRequest>,SdkBuilder<PutRemediationExceptionsRequest.Builder,PutRemediationExceptionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutRemediationExceptionsRequest
public static interface PutRemediationExceptionsRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutRemediationExceptionsRequest.Builder,PutRemediationExceptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutRemediationExceptionsRequest.BuilderconfigRuleName(String configRuleName)The name of the Config rule for which you want to create remediation exception.PutRemediationExceptionsRequest.BuilderexpirationTime(Instant expirationTime)The exception is automatically deleted after the expiration date.PutRemediationExceptionsRequest.Buildermessage(String message)The message contains an explanation of the exception.PutRemediationExceptionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutRemediationExceptionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutRemediationExceptionsRequest.BuilderresourceKeys(Collection<RemediationExceptionResourceKey> resourceKeys)An exception list of resource exception keys to be processed with the current request.PutRemediationExceptionsRequest.BuilderresourceKeys(Consumer<RemediationExceptionResourceKey.Builder>... resourceKeys)An exception list of resource exception keys to be processed with the current request.PutRemediationExceptionsRequest.BuilderresourceKeys(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
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
PutRemediationExceptionsRequest.Builder configRuleName(String 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 to#resourceKeys(List.) - 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:
#resourceKeys(java.util.Collection)
-
message
PutRemediationExceptionsRequest.Builder message(String 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
PutRemediationExceptionsRequest.Builder expirationTime(Instant 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutRemediationExceptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-