Interface UpdateSecurityPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSecurityPolicyRequest.Builder,UpdateSecurityPolicyRequest>,OpenSearchServerlessRequest.Builder,SdkBuilder<UpdateSecurityPolicyRequest.Builder,UpdateSecurityPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSecurityPolicyRequest
public static interface UpdateSecurityPolicyRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<UpdateSecurityPolicyRequest.Builder,UpdateSecurityPolicyRequest>
-
-
Method Summary
-
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.opensearchserverless.model.OpenSearchServerlessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientToken
UpdateSecurityPolicyRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateSecurityPolicyRequest.Builder description(String description)
A description of the policy. Typically used to store information about the permissions defined in the policy.
- Parameters:
description- A description of the policy. Typically used to store information about the permissions defined in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateSecurityPolicyRequest.Builder name(String name)
The name of the policy.
- Parameters:
name- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
UpdateSecurityPolicyRequest.Builder policy(String policy)
The JSON policy document to use as the content for the new policy.
- Parameters:
policy- The JSON policy document to use as the content for the new policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersion
UpdateSecurityPolicyRequest.Builder policyVersion(String policyVersion)
The version of the policy being updated.
- Parameters:
policyVersion- The version of the policy being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
UpdateSecurityPolicyRequest.Builder type(String type)
The type of access policy.
- Parameters:
type- The type of access policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityPolicyType,SecurityPolicyType
-
type
UpdateSecurityPolicyRequest.Builder type(SecurityPolicyType type)
The type of access policy.
- Parameters:
type- The type of access policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityPolicyType,SecurityPolicyType
-
overrideConfiguration
UpdateSecurityPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSecurityPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-