public static interface CreateAccessPolicyRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateAccessPolicyRequest.Builder,CreateAccessPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAccessPolicyRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
CreateAccessPolicyRequest.Builder |
description(String description)
A description of the policy.
|
CreateAccessPolicyRequest.Builder |
name(String name)
The name of the policy.
|
CreateAccessPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAccessPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateAccessPolicyRequest.Builder |
policy(String policy)
The JSON policy document to use as the content for the policy.
|
CreateAccessPolicyRequest.Builder |
type(AccessPolicyType type)
The type of policy.
|
CreateAccessPolicyRequest.Builder |
type(String type)
The type of policy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAccessPolicyRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.CreateAccessPolicyRequest.Builder description(String description)
A description of the policy. Typically used to store information about the permissions defined in the policy.
description - A description of the policy. Typically used to store information about the permissions defined in the
policy.CreateAccessPolicyRequest.Builder name(String name)
The name of the policy.
name - The name of the policy.CreateAccessPolicyRequest.Builder policy(String policy)
The JSON policy document to use as the content for the policy.
policy - The JSON policy document to use as the content for the policy.CreateAccessPolicyRequest.Builder type(String type)
The type of policy.
type - The type of policy.AccessPolicyType,
AccessPolicyTypeCreateAccessPolicyRequest.Builder type(AccessPolicyType type)
The type of policy.
type - The type of policy.AccessPolicyType,
AccessPolicyTypeCreateAccessPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAccessPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.