public static interface PutConfigRuleRequest.Builder extends ConfigRequest.Builder, CopyableBuilder<PutConfigRuleRequest.Builder,PutConfigRuleRequest>
Modifier and Type | Method and Description |
---|---|
PutConfigRuleRequest.Builder |
configRule(ConfigRule configRule)
The rule that you want to add to your account.
|
default PutConfigRuleRequest.Builder |
configRule(Consumer<ConfigRule.Builder> configRule)
The rule that you want to add to your account.
|
PutConfigRuleRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutConfigRuleRequest.Builder configRule(ConfigRule configRule)
The rule that you want to add to your account.
configRule
- The rule that you want to add to your account.default PutConfigRuleRequest.Builder configRule(Consumer<ConfigRule.Builder> configRule)
The rule that you want to add to your account.
This is a convenience that creates an instance of theConfigRule.Builder
avoiding the need to create
one manually via ConfigRule.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to configRule(ConfigRule)
.configRule
- a consumer that will call methods on ConfigRule.Builder
configRule(ConfigRule)
PutConfigRuleRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.