Interface ExecuteTrainingOperationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ExecuteTrainingOperationRequest.Builder,,ExecuteTrainingOperationRequest> SageMakerTrainingSessionRuntimeRequest.Builder,SdkBuilder<ExecuteTrainingOperationRequest.Builder,,ExecuteTrainingOperationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ExecuteTrainingOperationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.operationConfig(Consumer<OperationConfig.Builder> operationConfig) The configuration that specifies the type and parameters of the training operation.operationConfig(OperationConfig operationConfig) The configuration that specifies the type and parameters of the training operation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sequenceNumber(Integer sequenceNumber) The monotonically increasing sequence number that determines execution order.trainingSessionName(String trainingSessionName) The name of the training session to submit the operation to.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.sagemakertrainingsessionruntime.model.SageMakerTrainingSessionRuntimeRequest.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
-
trainingSessionName
The name of the training session to submit the operation to.
- Parameters:
trainingSessionName- The name of the training session to submit the operation to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceNumber
The monotonically increasing sequence number that determines execution order. The training session processes operations strictly in sequence number order. If a gap exists, the session blocks until the missing operation arrives or times out. Must be at least 1.
- Parameters:
sequenceNumber- The monotonically increasing sequence number that determines execution order. The training session processes operations strictly in sequence number order. If a gap exists, the session blocks until the missing operation arrives or times out. Must be at least 1.- 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 that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service ignores the request but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationConfig
The configuration that specifies the type and parameters of the training operation. Exactly one member of the union must be set.
- Parameters:
operationConfig- The configuration that specifies the type and parameters of the training operation. Exactly one member of the union must be set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationConfig
default ExecuteTrainingOperationRequest.Builder operationConfig(Consumer<OperationConfig.Builder> operationConfig) The configuration that specifies the type and parameters of the training operation. Exactly one member of the union must be set.
This is a convenience method that creates an instance of theOperationConfig.Builderavoiding the need to create one manually viaOperationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperationConfig(OperationConfig).- Parameters:
operationConfig- a consumer that will call methods onOperationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExecuteTrainingOperationRequest.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
ExecuteTrainingOperationRequest.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.
-