Interface UpdateCurationPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<UpdateCurationPolicyRequest.Builder,,UpdateCurationPolicyRequest> SdkBuilder<UpdateCurationPolicyRequest.Builder,,UpdateCurationPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateCurationPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoRejectAfterSeconds(Long autoRejectAfterSeconds) The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days).clientToken(String clientToken) Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException.curationPolicyId(String curationPolicyId) The ID of the curation policy to update.description(String description) The new description.The new name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyDocument(String policyDocument) The new Cedar policy document.revisionId(String revisionId) TherevisionIdof the working copy that you edited, as you last read it.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.context.model.ContextRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException. A token used with different parameters is a ValidationException whose message names
clientToken, checked first. A retry with the same parameters after the policy was deleted is a ConflictException.- Parameters:
clientToken- Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException. A token used with different parameters is a ValidationException whose message namesclientToken, checked first. A retry with the same parameters after the policy was deleted is a ConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
curationPolicyId
The ID of the curation policy to update.
- Parameters:
curationPolicyId- The ID of the curation policy to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The
revisionIdof the working copy that you edited, as you last read it. If a concurrent edit advanced the revision, the request fails withConflictException.- Parameters:
revisionId- TherevisionIdof the working copy that you edited, as you last read it. If a concurrent edit advanced the revision, the request fails withConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name. If you omit it, the name is unchanged. This operation updates only the members that you include. You can't use it to clear an optional member.
- Parameters:
name- The new name. If you omit it, the name is unchanged. This operation updates only the members that you include. You can't use it to clear an optional member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description. If you omit it, the description is unchanged.
- Parameters:
description- The new description. If you omit it, the description is unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
The new Cedar policy document. If you omit it, the document is unchanged.
- Parameters:
policyDocument- The new Cedar policy document. If you omit it, the document is unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRejectAfterSeconds
The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days). If you omit it, the window is unchanged. You can't clear it with this operation.
- Parameters:
autoRejectAfterSeconds- The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days). If you omit it, the window is unchanged. You can't clear it with this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateCurationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCurationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-