Interface AssociateCurationPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<AssociateCurationPolicyRequest.Builder,,AssociateCurationPolicyRequest> SdkBuilder<AssociateCurationPolicyRequest.Builder,,AssociateCurationPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateCurationPolicyRequest
@Mutable
@NotThreadSafe
public static interface AssociateCurationPolicyRequest.Builder
extends ContextRequest.Builder, SdkPojo, CopyableBuilder<AssociateCurationPolicyRequest.Builder,AssociateCurationPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentContextId(String agentContextId) The agent context, by its ID or ARN.curationPolicyId(String curationPolicyId) The ID of the curation policy to associate with the agent context.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
agentContextId
The agent context, by its ID or ARN.
- Parameters:
agentContextId- The agent context, by its ID or ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
curationPolicyId
The ID of the curation policy to associate with the agent context. If the policy doesn't exist in your account, the request fails with
ResourceNotFoundException. If it was deleted, the request fails withConflictException.- Parameters:
curationPolicyId- The ID of the curation policy to associate with the agent context. If the policy doesn't exist in your account, the request fails withResourceNotFoundException. If it was deleted, the request fails withConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateCurationPolicyRequest.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
AssociateCurationPolicyRequest.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.
-