Interface CreateCurationPolicyVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<CreateCurationPolicyVersionRequest.Builder,,CreateCurationPolicyVersionRequest> SdkBuilder<CreateCurationPolicyVersionRequest.Builder,,CreateCurationPolicyVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCurationPolicyVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateCurationPolicyVersionRequest.Builder
extends ContextRequest.Builder, SdkPojo, CopyableBuilder<CreateCurationPolicyVersionRequest.Builder,CreateCurationPolicyVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A token that makes a retry safe.curationPolicyId(String curationPolicyId) The ID of the curation policy to publish a new version of.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revisionId(String revisionId) TherevisionIdof the working copy to publish, as last read.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
A token that makes a retry safe. A retry with the same token and the same parameters returns the current policy instead of creating another version. A token used with different parameters is a ValidationException, checked first, and a retry with the same parameters after the policy was deleted is a ConflictException. Required at run time. The AWS SDKs generate one.
- Parameters:
clientToken- A token that makes a retry safe. A retry with the same token and the same parameters returns the current policy instead of creating another version. A token used with different parameters is a ValidationException, checked first, and a retry with the same parameters after the policy was deleted is a ConflictException. Required at run time. The AWS SDKs generate one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
curationPolicyId
The ID of the curation policy to publish a new version of.
- Parameters:
curationPolicyId- The ID of the curation policy to publish a new version of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The
revisionIdof the working copy to publish, as last read. A working copy whose revision has since advanced is a ConflictException.- Parameters:
revisionId- TherevisionIdof the working copy to publish, as last read. A working copy whose revision has since advanced is a ConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCurationPolicyVersionRequest.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
CreateCurationPolicyVersionRequest.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.
-