Interface PutConfigurationRecorderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<PutConfigurationRecorderRequest.Builder,
,PutConfigurationRecorderRequest> SdkBuilder<PutConfigurationRecorderRequest.Builder,
,PutConfigurationRecorderRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutConfigurationRecorderRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationRecorder
(Consumer<ConfigurationRecorder.Builder> configurationRecorder) An object for the configuration recorder.configurationRecorder
(ConfigurationRecorder configurationRecorder) An object for the configuration recorder.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) The tags for the customer managed configuration recorder.tags
(Consumer<Tag.Builder>... tags) The tags for the customer managed configuration recorder.The tags for the customer managed configuration recorder.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, sdkFieldNameToField, sdkFields
-
Method Details
-
configurationRecorder
PutConfigurationRecorderRequest.Builder configurationRecorder(ConfigurationRecorder configurationRecorder) An object for the configuration recorder. A configuration recorder records configuration changes for the resource types in scope.
- Parameters:
configurationRecorder
- An object for the configuration recorder. A configuration recorder records configuration changes for the resource types in scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationRecorder
default PutConfigurationRecorderRequest.Builder configurationRecorder(Consumer<ConfigurationRecorder.Builder> configurationRecorder) An object for the configuration recorder. A configuration recorder records configuration changes for the resource types in scope.
This is a convenience method that creates an instance of theConfigurationRecorder.Builder
avoiding the need to create one manually viaConfigurationRecorder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationRecorder(ConfigurationRecorder)
.- Parameters:
configurationRecorder
- a consumer that will call methods onConfigurationRecorder.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.
- Parameters:
tags
- The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.
- Parameters:
tags
- The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutConfigurationRecorderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutConfigurationRecorderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-