Interface TrainingSessionDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrainingSessionDetail.Builder,,TrainingSessionDetail> SdkBuilder<TrainingSessionDetail.Builder,,TrainingSessionDetail> SdkPojo
- Enclosing class:
TrainingSessionDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrainingSessionDetail.BuilderbillableTokenUsage(Consumer<BillableTokenUsage.Builder> billableTokenUsage) The billable token usage for the training session.billableTokenUsage(BillableTokenUsage billableTokenUsage) The billable token usage for the training session.creationTime(Instant creationTime) The date and time that the training session was created.The date and time that the training session ended.errorDetails(String errorDetails) If the training session failed or is blocked, detailed error information.lastModifiedTime(Instant lastModifiedTime) The date and time that the training session was last modified.lastReceivedSequenceNumber(Integer lastReceivedSequenceNumber) The sequence number of the last training operation received by the session.default TrainingSessionDetail.BuilderloraConfig(Consumer<LoraConfig.Builder> loraConfig) The Low-Rank Adaptation (LoRA) configuration for the training session.loraConfig(LoraConfig loraConfig) The Low-Rank Adaptation (LoRA) configuration for the training session.default TrainingSessionDetail.BuildermodelConfig(Consumer<TrainingSessionModelConfig.Builder> modelConfig) The configuration for the base model.modelConfig(TrainingSessionModelConfig modelConfig) The configuration for the base model.modelPackageGroupArn(String modelPackageGroupArn) The Amazon Resource Name (ARN) of the model package group where checkpoints are published.default TrainingSessionDetail.BuilderoutputConfig(Consumer<TrainingSessionOutputConfig.Builder> outputConfig) The output configuration for the training session.outputConfig(TrainingSessionOutputConfig outputConfig) The output configuration for the training session.The Amazon Resource Name (ARN) of the IAM role associated with the training session.tags(Collection<Tag> tags) The tags associated with the training session.tags(Consumer<Tag.Builder>... tags) The tags associated with the training session.The tags associated with the training session.trainingSessionArn(String trainingSessionArn) The Amazon Resource Name (ARN) of the training session.trainingSessionName(String trainingSessionName) The name of the training session.trainingSessionStatus(String trainingSessionStatus) The current status of the training session.trainingSessionStatus(TrainingSessionStatus trainingSessionStatus) The current status of the training session.default TrainingSessionDetail.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) The Virtual Private Cloud (VPC) configuration for the training session.The Virtual Private Cloud (VPC) configuration for the training session.Methods 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
-
trainingSessionArn
The Amazon Resource Name (ARN) of the training session.
- Parameters:
trainingSessionArn- The Amazon Resource Name (ARN) of the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingSessionName
The name of the training session.
- Parameters:
trainingSessionName- The name of the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingSessionStatus
The current status of the training session.
- Parameters:
trainingSessionStatus- The current status of the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingSessionStatus
The current status of the training session.
- Parameters:
trainingSessionStatus- The current status of the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelPackageGroupArn
The Amazon Resource Name (ARN) of the model package group where checkpoints are published.
- Parameters:
modelPackageGroupArn- The Amazon Resource Name (ARN) of the model package group where checkpoints are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that the training session was created.
- Parameters:
creationTime- The date and time that the training session was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The date and time that the training session was last modified.
- Parameters:
lastModifiedTime- The date and time that the training session was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time that the training session ended.
- Parameters:
endTime- The date and time that the training session ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
If the training session failed or is blocked, detailed error information.
- Parameters:
errorDetails- If the training session failed or is blocked, detailed error information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastReceivedSequenceNumber
The sequence number of the last training operation received by the session.
- Parameters:
lastReceivedSequenceNumber- The sequence number of the last training operation received by the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billableTokenUsage
The billable token usage for the training session.
- Parameters:
billableTokenUsage- The billable token usage for the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billableTokenUsage
default TrainingSessionDetail.Builder billableTokenUsage(Consumer<BillableTokenUsage.Builder> billableTokenUsage) The billable token usage for the training session.
This is a convenience method that creates an instance of theBillableTokenUsage.Builderavoiding the need to create one manually viaBillableTokenUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillableTokenUsage(BillableTokenUsage).- Parameters:
billableTokenUsage- a consumer that will call methods onBillableTokenUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
The Virtual Private Cloud (VPC) configuration for the training session.
- Parameters:
vpcConfig- The Virtual Private Cloud (VPC) configuration for the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The Virtual Private Cloud (VPC) configuration for the training session.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role associated with the training session.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role associated with the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loraConfig
The Low-Rank Adaptation (LoRA) configuration for the training session.
- Parameters:
loraConfig- The Low-Rank Adaptation (LoRA) configuration for the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loraConfig
The Low-Rank Adaptation (LoRA) configuration for the training session.
This is a convenience method that creates an instance of theLoraConfig.Builderavoiding the need to create one manually viaLoraConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloraConfig(LoraConfig).- Parameters:
loraConfig- a consumer that will call methods onLoraConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelConfig
The configuration for the base model.
- Parameters:
modelConfig- The configuration for the base model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelConfig
default TrainingSessionDetail.Builder modelConfig(Consumer<TrainingSessionModelConfig.Builder> modelConfig) The configuration for the base model.
This is a convenience method that creates an instance of theTrainingSessionModelConfig.Builderavoiding the need to create one manually viaTrainingSessionModelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelConfig(TrainingSessionModelConfig).- Parameters:
modelConfig- a consumer that will call methods onTrainingSessionModelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
The output configuration for the training session.
- Parameters:
outputConfig- The output configuration for the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default TrainingSessionDetail.Builder outputConfig(Consumer<TrainingSessionOutputConfig.Builder> outputConfig) The output configuration for the training session.
This is a convenience method that creates an instance of theTrainingSessionOutputConfig.Builderavoiding the need to create one manually viaTrainingSessionOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(TrainingSessionOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onTrainingSessionOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with the training session.
- Parameters:
tags- The tags associated with the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the training session.
- Parameters:
tags- The tags associated with the training session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the training session.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-