Interface CompleteRolloutRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CompleteRolloutRequest.Builder,,CompleteRolloutRequest> SagemakerJobRuntimeRequest.Builder,SdkBuilder<CompleteRolloutRequest.Builder,,CompleteRolloutRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CompleteRolloutRequest
@Mutable
@NotThreadSafe
public static interface CompleteRolloutRequest.Builder
extends SagemakerJobRuntimeRequest.Builder, SdkPojo, CopyableBuilder<CompleteRolloutRequest.Builder,CompleteRolloutRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The job ARN.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The target status for the trajectory.status(CompletionStatus status) The target status for the trajectory.trajectoryId(String trajectoryId) The trajectory ID to mark as complete.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakerjobruntime.model.SagemakerJobRuntimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jobArn
The job ARN.
- Parameters:
jobArn- The job ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trajectoryId
The trajectory ID to mark as complete.
- Parameters:
trajectoryId- The trajectory ID to mark as complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The target status for the trajectory. Defaults to READY if not specified. Set to FAILED if the rollout encountered an error and the trajectory should not be used for processing.
- Parameters:
status- The target status for the trajectory. Defaults to READY if not specified. Set to FAILED if the rollout encountered an error and the trajectory should not be used for processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The target status for the trajectory. Defaults to READY if not specified. Set to FAILED if the rollout encountered an error and the trajectory should not be used for processing.
- Parameters:
status- The target status for the trajectory. Defaults to READY if not specified. Set to FAILED if the rollout encountered an error and the trajectory should not be used for processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CompleteRolloutRequest.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
CompleteRolloutRequest.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.
-