Interface EnableControlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ControlTowerRequest.Builder
,CopyableBuilder<EnableControlRequest.Builder,
,EnableControlRequest> SdkBuilder<EnableControlRequest.Builder,
,EnableControlRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
EnableControlRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontrolIdentifier
(String controlIdentifier) The ARN of the control.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 list of input parameter values, which are specified to configure the control when you enable it.parameters
(Consumer<EnabledControlParameter.Builder>... parameters) A list of input parameter values, which are specified to configure the control when you enable it.parameters
(EnabledControlParameter... parameters) A list of input parameter values, which are specified to configure the control when you enable it.Tags to be applied to theEnabledControl
resource.targetIdentifier
(String targetIdentifier) The ARN of the organizational unit.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
-
controlIdentifier
The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the
controlIdentifier
, see the overview page.- Parameters:
controlIdentifier
- The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find thecontrolIdentifier
, see the overview page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of input parameter values, which are specified to configure the control when you enable it.
- Parameters:
parameters
- A list of input parameter values, which are specified to configure the control when you enable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of input parameter values, which are specified to configure the control when you enable it.
- Parameters:
parameters
- A list of input parameter values, which are specified to configure the control when you enable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of input parameter values, which are specified to configure the control when you enable it.
This is a convenience method that creates an instance of theEnabledControlParameter.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:
-
tags
Tags to be applied to the
EnabledControl
resource.- Parameters:
tags
- Tags to be applied to theEnabledControl
resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIdentifier
The ARN of the organizational unit. For information on how to find the
targetIdentifier
, see the overview page.- Parameters:
targetIdentifier
- The ARN of the organizational unit. For information on how to find thetargetIdentifier
, see the overview page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableControlRequest.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
EnableControlRequest.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.
-