Interface UpdateEnabledControlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ControlTowerRequest.Builder
,CopyableBuilder<UpdateEnabledControlRequest.Builder,
,UpdateEnabledControlRequest> SdkBuilder<UpdateEnabledControlRequest.Builder,
,UpdateEnabledControlRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEnabledControlRequest
@Mutable
@NotThreadSafe
public static interface UpdateEnabledControlRequest.Builder
extends ControlTowerRequest.Builder, SdkPojo, CopyableBuilder<UpdateEnabledControlRequest.Builder,UpdateEnabledControlRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenabledControlIdentifier
(String enabledControlIdentifier) The ARN of the enabled control that will be updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Collection<EnabledControlParameter> parameters) A key/value pair, whereKey
is of typeString
andValue
is of typeDocument
.parameters
(Consumer<EnabledControlParameter.Builder>... parameters) A key/value pair, whereKey
is of typeString
andValue
is of typeDocument
.parameters
(EnabledControlParameter... parameters) A key/value pair, whereKey
is of typeString
andValue
is of typeDocument
.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, sdkFieldNameToField, sdkFields
-
Method Details
-
enabledControlIdentifier
The ARN of the enabled control that will be updated.
- Parameters:
enabledControlIdentifier
- The ARN of the enabled control that will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A key/value pair, where
Key
is of typeString
andValue
is of typeDocument
.- Parameters:
parameters
- A key/value pair, whereKey
is of typeString
andValue
is of typeDocument
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A key/value pair, where
Key
is of typeString
andValue
is of typeDocument
.- Parameters:
parameters
- A key/value pair, whereKey
is of typeString
andValue
is of typeDocument
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
UpdateEnabledControlRequest.Builder parameters(Consumer<EnabledControlParameter.Builder>... parameters) A key/value pair, where
This is a convenience method that creates an instance of theKey
is of typeString
andValue
is of typeDocument
.EnabledControlParameter.Builder
avoiding the need to create one manually viaEnabledControlParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<EnabledControlParameter>)
.- Parameters:
parameters
- a consumer that will call methods onEnabledControlParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEnabledControlRequest.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
UpdateEnabledControlRequest.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.
-