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
-
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 landing zone 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 landing zone 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)
An array of
EnabledControlParameterobjects- Parameters:
parameters- An array ofEnabledControlParameterobjects- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
EnableControlRequest.Builder parameters(EnabledControlParameter... parameters)
An array of
EnabledControlParameterobjects- Parameters:
parameters- An array ofEnabledControlParameterobjects- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
EnableControlRequest.Builder parameters(Consumer<EnabledControlParameter.Builder>... parameters)
An array of
This is a convenience method that creates an instance of theEnabledControlParameterobjectsEnabledControlParameter.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
-
-