| Package | Description |
|---|---|
| software.amazon.awssdk.services.organizations |
Organizations is a web service that enables you to consolidate your multiple Amazon Web Services accounts into an
organization and centrally manage your accounts and their resources.
|
| software.amazon.awssdk.services.organizations.model |
| Modifier and Type | Method and Description |
|---|---|
default AttachPolicyResponse |
OrganizationsClient.attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest)
Attaches a policy to a root, an organizational unit (OU), or an individual account.
|
default CompletableFuture<AttachPolicyResponse> |
OrganizationsAsyncClient.attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest)
Attaches a policy to a root, an organizational unit (OU), or an individual account.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachPolicyRequest.Builder |
AttachPolicyRequest.builder() |
AttachPolicyRequest.Builder |
AttachPolicyRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AttachPolicyRequest.Builder |
AttachPolicyRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AttachPolicyRequest.Builder |
AttachPolicyRequest.Builder.policyId(String policyId)
The unique identifier (ID) of the policy that you want to attach to the target.
|
AttachPolicyRequest.Builder |
AttachPolicyRequest.Builder.targetId(String targetId)
The unique identifier (ID) of the root, OU, or account that you want to attach the policy to.
|
AttachPolicyRequest.Builder |
AttachPolicyRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends AttachPolicyRequest.Builder> |
AttachPolicyRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.