public static interface PutConfigRuleRequest.Builder extends ConfigRequest.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutConfigRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutConfigRuleRequest.Builder |
tags(Collection<Tag> tags)
An array of tag object.
|
PutConfigRuleRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of tag object.
|
PutConfigRuleRequest.Builder |
tags(Tag... tags)
An array of tag object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutConfigRuleRequest.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 method 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.BuilderconfigRule(ConfigRule)PutConfigRuleRequest.Builder tags(Collection<Tag> tags)
An array of tag object.
tags - An array of tag object.PutConfigRuleRequest.Builder tags(Tag... tags)
An array of tag object.
tags - An array of tag object.PutConfigRuleRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of tag object.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) PutConfigRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutConfigRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.