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 theEnabledControlresource.targetIdentifier(String targetIdentifier) The ARN of the organizational unit.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.controltower.model.ControlTowerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaEnabledControlParameter.builder().When the
Consumercompletes,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
EnabledControlresource.- Parameters:
tags- Tags to be applied to theEnabledControlresource.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-