Interface RejectCurationProposalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<RejectCurationProposalRequest.Builder,,RejectCurationProposalRequest> SdkBuilder<RejectCurationProposalRequest.Builder,,RejectCurationProposalRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RejectCurationProposalRequest
@Mutable
@NotThreadSafe
public static interface RejectCurationProposalRequest.Builder
extends ContextRequest.Builder, SdkPojo, CopyableBuilder<RejectCurationProposalRequest.Builder,RejectCurationProposalRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentContextId(String agentContextId) The agent context that the proposal belongs to, by its ID or ARN.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to make the request idempotent.curationProposalId(String curationProposalId) The ID of the proposal to reject.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revisionId(String revisionId) The revisionId the curator observed.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
-
curationProposalId
The ID of the proposal to reject.
- Parameters:
curationProposalId- The ID of the proposal to reject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentContextId
The agent context that the proposal belongs to, by its ID or ARN. If the proposal belongs to another agent context, the request fails with
ResourceNotFoundException.- Parameters:
agentContextId- The agent context that the proposal belongs to, by its ID or ARN. If the proposal belongs to another agent context, the request fails withResourceNotFoundException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The revisionId the curator observed. A mismatch means a stale view.
- Parameters:
revisionId- The revisionId the curator observed. A mismatch means a stale view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to make the request idempotent. For 8 hours, a retry with the same token returns the rejected proposal, and the same token used with another proposal returns a
ValidationException.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to make the request idempotent. For 8 hours, a retry with the same token returns the rejected proposal, and the same token used with another proposal returns aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RejectCurationProposalRequest.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
RejectCurationProposalRequest.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.
-