Interface ExecuteTrainingOperationRequest.Builder

  • Method Details

    • trainingSessionName

      ExecuteTrainingOperationRequest.Builder trainingSessionName(String 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

      ExecuteTrainingOperationRequest.Builder sequenceNumber(Integer 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

      ExecuteTrainingOperationRequest.Builder operationConfig(OperationConfig 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 the OperationConfig.Builder avoiding the need to create one manually via OperationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to operationConfig(OperationConfig).

      Parameters:
      operationConfig - a consumer that will call methods on OperationConfig.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.