| 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 CreatePolicyResponse |
OrganizationsClient.createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)
Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual
Amazon Web Services account.
|
default CompletableFuture<CreatePolicyResponse> |
OrganizationsAsyncClient.createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)
Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual
Amazon Web Services account.
|
| Modifier and Type | Method and Description |
|---|---|
static CreatePolicyRequest.Builder |
CreatePolicyRequest.builder() |
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.content(String content)
The policy text content to add to the new policy.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.description(String description)
An optional description to assign to the policy.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.name(String name)
The friendly name to assign to the policy.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.tags(Collection<Tag> tags)
A list of tags that you want to attach to the newly created policy.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.tags(Consumer<Tag.Builder>... tags)
A list of tags that you want to attach to the newly created policy.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.tags(Tag... tags)
A list of tags that you want to attach to the newly created policy.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.toBuilder() |
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.type(PolicyType type)
The type of policy to create.
|
CreatePolicyRequest.Builder |
CreatePolicyRequest.Builder.type(String type)
The type of policy to create.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreatePolicyRequest.Builder> |
CreatePolicyRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.