Interface UpdateRewardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRewardRequest.Builder,,UpdateRewardRequest> SagemakerJobRuntimeRequest.Builder,SdkBuilder<UpdateRewardRequest.Builder,,UpdateRewardRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRewardRequest
@Mutable
@NotThreadSafe
public static interface UpdateRewardRequest.Builder
extends SagemakerJobRuntimeRequest.Builder, SdkPojo, CopyableBuilder<UpdateRewardRequest.Builder,UpdateRewardRequest>
-
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 list of reward values to assign to this trajectory.rewards(Collection<Double> rewards) The list of reward values to assign to this trajectory.trajectoryId(String trajectoryId) The trajectory ID to update with reward values.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 update with reward values.
- Parameters:
trajectoryId- The trajectory ID to update with reward values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rewards
The list of reward values to assign to this trajectory. Provide one reward value per turn in the trajectory.
- Parameters:
rewards- The list of reward values to assign to this trajectory. Provide one reward value per turn in the trajectory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rewards
The list of reward values to assign to this trajectory. Provide one reward value per turn in the trajectory.
- Parameters:
rewards- The list of reward values to assign to this trajectory. Provide one reward value per turn in the trajectory.- 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 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
UpdateRewardRequest.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
UpdateRewardRequest.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.
-