Interface EnableControlRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ControlTowerRequest.Builder,CopyableBuilder<EnableControlRequest.Builder,EnableControlRequest>,SdkBuilder<EnableControlRequest.Builder,EnableControlRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- EnableControlRequest
public static interface EnableControlRequest.Builder extends ControlTowerRequest.Builder, SdkPojo, CopyableBuilder<EnableControlRequest.Builder,EnableControlRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnableControlRequest.BuildercontrolIdentifier(String controlIdentifier)The ARN of the control.EnableControlRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)EnableControlRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)EnableControlRequest.Builderparameters(Collection<EnabledControlParameter> parameters)A list of input parameter values, which are specified to configure the control when you enable it.EnableControlRequest.Builderparameters(Consumer<EnabledControlParameter.Builder>... parameters)A list of input parameter values, which are specified to configure the control when you enable it.EnableControlRequest.Builderparameters(EnabledControlParameter... parameters)A list of input parameter values, which are specified to configure the control when you enable it.EnableControlRequest.Buildertags(Map<String,String> tags)Tags to be applied to theEnabledControlresource.EnableControlRequest.BuildertargetIdentifier(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 Detail
-
controlIdentifier
EnableControlRequest.Builder controlIdentifier(String 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
EnableControlRequest.Builder parameters(Collection<EnabledControlParameter> 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
EnableControlRequest.Builder parameters(EnabledControlParameter... 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
EnableControlRequest.Builder parameters(Consumer<EnabledControlParameter.Builder>... 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 to#parameters(List.) - 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:
#parameters(java.util.Collection)
-
tags
EnableControlRequest.Builder tags(Map<String,String> 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
EnableControlRequest.Builder targetIdentifier(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
EnableControlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-