Interface EnablePolicyTypeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<EnablePolicyTypeRequest.Builder,
,EnablePolicyTypeRequest> OrganizationsRequest.Builder
,SdkBuilder<EnablePolicyTypeRequest.Builder,
,EnablePolicyTypeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
EnablePolicyTypeRequest
public static interface EnablePolicyTypeRequest.Builder
extends OrganizationsRequest.Builder, SdkPojo, CopyableBuilder<EnablePolicyTypeRequest.Builder,EnablePolicyTypeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyType
(String policyType) The policy type that you want to enable.policyType
(PolicyType policyType) The policy type that you want to enable.The unique identifier (ID) of the root in which you want to enable a policy type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsRequest.Builder
build
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
-
rootId
The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.
The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
- Parameters:
rootId
- The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
The policy type that you want to enable. You can specify one of the following values:
- Parameters:
policyType
- The policy type that you want to enable. You can specify one of the following values:- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The policy type that you want to enable. You can specify one of the following values:
- Parameters:
policyType
- The policy type that you want to enable. You can specify one of the following values:- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
EnablePolicyTypeRequest.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
EnablePolicyTypeRequest.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.
-