Interface EnableBaselineRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ControlTowerRequest.Builder
,CopyableBuilder<EnableBaselineRequest.Builder,
,EnableBaselineRequest> SdkBuilder<EnableBaselineRequest.Builder,
,EnableBaselineRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
EnableBaselineRequest
-
Method Summary
Modifier and TypeMethodDescriptionbaselineIdentifier
(String baselineIdentifier) The ARN of the baseline to be enabled.baselineVersion
(String baselineVersion) The specific version to be enabled of the specified baseline.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Collection<EnabledBaselineParameter> parameters) A list ofkey-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.parameters
(Consumer<EnabledBaselineParameter.Builder>... parameters) A list ofkey-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.parameters
(EnabledBaselineParameter... parameters) A list ofkey-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.Tags associated with input toEnableBaseline
.targetIdentifier
(String targetIdentifier) The ARN of the target on which the baseline will be enabled.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.controltower.model.ControlTowerRequest.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 Details
-
baselineIdentifier
The ARN of the baseline to be enabled.
- Parameters:
baselineIdentifier
- The ARN of the baseline to be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineVersion
The specific version to be enabled of the specified baseline.
- Parameters:
baselineVersion
- The specific version to be enabled of the specified baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
key-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.- Parameters:
parameters
- A list ofkey-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
key-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.- Parameters:
parameters
- A list ofkey-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
This is a convenience method that creates an instance of thekey-value
objects that specify enablement parameters, wherekey
is a string andvalue
is a document of any type.EnabledBaselineParameter.Builder
avoiding the need to create one manually viaEnabledBaselineParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<EnabledBaselineParameter>)
.- Parameters:
parameters
- a consumer that will call methods onEnabledBaselineParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags associated with input to
EnableBaseline
.- Parameters:
tags
- Tags associated with input toEnableBaseline
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIdentifier
The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
- Parameters:
targetIdentifier
- The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableBaselineRequest.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
EnableBaselineRequest.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.
-