public static interface CreateSecurityPolicyRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateSecurityPolicyRequest.Builder,CreateSecurityPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSecurityPolicyRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
CreateSecurityPolicyRequest.Builder |
description(String description)
A description of the policy.
|
CreateSecurityPolicyRequest.Builder |
name(String name)
The name of the policy.
|
CreateSecurityPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSecurityPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSecurityPolicyRequest.Builder |
policy(String policy)
The JSON policy document to use as the content for the new policy.
|
CreateSecurityPolicyRequest.Builder |
type(SecurityPolicyType type)
The type of security policy.
|
CreateSecurityPolicyRequest.Builder |
type(String type)
The type of security policy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSecurityPolicyRequest.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.CreateSecurityPolicyRequest.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.CreateSecurityPolicyRequest.Builder name(String name)
The name of the policy.
name - The name of the policy.CreateSecurityPolicyRequest.Builder policy(String policy)
The JSON policy document to use as the content for the new policy.
policy - The JSON policy document to use as the content for the new policy.CreateSecurityPolicyRequest.Builder type(String type)
The type of security policy.
type - The type of security policy.SecurityPolicyType,
SecurityPolicyTypeCreateSecurityPolicyRequest.Builder type(SecurityPolicyType type)
The type of security policy.
type - The type of security policy.SecurityPolicyType,
SecurityPolicyTypeCreateSecurityPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSecurityPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.