Interface GetCustomModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetCustomModelResponse.Builder,
,GetCustomModelResponse> SdkBuilder<GetCustomModelResponse.Builder,
,GetCustomModelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCustomModelResponse
-
Method Summary
Modifier and TypeMethodDescriptionbaseModelArn
(String baseModelArn) ARN of the base model.creationTime
(Instant creationTime) Creation time of the model.hyperParameters
(Map<String, String> hyperParameters) Hyperparameter values associated with this model.Job ARN associated with this model.Job name associated with this model.ARN associated with this model.modelKmsKeyArn
(String modelKmsKeyArn) The custom model is encrypted at rest using this key.Model name associated with this model.default GetCustomModelResponse.Builder
outputDataConfig
(Consumer<OutputDataConfig.Builder> outputDataConfig) Output data configuration associated with this custom model.outputDataConfig
(OutputDataConfig outputDataConfig) Output data configuration associated with this custom model.default GetCustomModelResponse.Builder
trainingDataConfig
(Consumer<TrainingDataConfig.Builder> trainingDataConfig) Information about the training dataset.trainingDataConfig
(TrainingDataConfig trainingDataConfig) Information about the training dataset.default GetCustomModelResponse.Builder
trainingMetrics
(Consumer<TrainingMetrics.Builder> trainingMetrics) The training metrics from the job creation.trainingMetrics
(TrainingMetrics trainingMetrics) The training metrics from the job creation.default GetCustomModelResponse.Builder
validationDataConfig
(Consumer<ValidationDataConfig.Builder> validationDataConfig) Sets the value of the ValidationDataConfig property for this object.validationDataConfig
(ValidationDataConfig validationDataConfig) Sets the value of the ValidationDataConfig property for this object.validationMetrics
(Collection<ValidatorMetric> validationMetrics) The validation metrics from the job creation.validationMetrics
(Consumer<ValidatorMetric.Builder>... validationMetrics) The validation metrics from the job creation.validationMetrics
(ValidatorMetric... validationMetrics) The validation metrics from the job creation.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelArn
ARN associated with this model.
- Parameters:
modelArn
- ARN associated with this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
Model name associated with this model.
- Parameters:
modelName
- Model name associated with this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
Job name associated with this model.
- Parameters:
jobName
- Job name associated with this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
Job ARN associated with this model.
- Parameters:
jobArn
- Job ARN associated with this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseModelArn
ARN of the base model.
- Parameters:
baseModelArn
- ARN of the base model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelKmsKeyArn
The custom model is encrypted at rest using this key.
- Parameters:
modelKmsKeyArn
- The custom model is encrypted at rest using this key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperParameters
Hyperparameter values associated with this model.
- Parameters:
hyperParameters
- Hyperparameter values associated with this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
Information about the training dataset.
- Parameters:
trainingDataConfig
- Information about the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
default GetCustomModelResponse.Builder trainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig) Information about the training dataset.
This is a convenience method that creates an instance of theTrainingDataConfig.Builder
avoiding the need to create one manually viaTrainingDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingDataConfig(TrainingDataConfig)
.- Parameters:
trainingDataConfig
- a consumer that will call methods onTrainingDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationDataConfig
Sets the value of the ValidationDataConfig property for this object.- Parameters:
validationDataConfig
- The new value for the ValidationDataConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationDataConfig
default GetCustomModelResponse.Builder validationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig) Sets the value of the ValidationDataConfig property for this object. This is a convenience method that creates an instance of theValidationDataConfig.Builder
avoiding the need to create one manually viaValidationDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationDataConfig(ValidationDataConfig)
.- Parameters:
validationDataConfig
- a consumer that will call methods onValidationDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputDataConfig
Output data configuration associated with this custom model.
- Parameters:
outputDataConfig
- Output data configuration associated with this custom model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default GetCustomModelResponse.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig) Output data configuration associated with this custom model.
This is a convenience method that creates an instance of theOutputDataConfig.Builder
avoiding the need to create one manually viaOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(OutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingMetrics
The training metrics from the job creation.
- Parameters:
trainingMetrics
- The training metrics from the job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingMetrics
default GetCustomModelResponse.Builder trainingMetrics(Consumer<TrainingMetrics.Builder> trainingMetrics) The training metrics from the job creation.
This is a convenience method that creates an instance of theTrainingMetrics.Builder
avoiding the need to create one manually viaTrainingMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingMetrics(TrainingMetrics)
.- Parameters:
trainingMetrics
- a consumer that will call methods onTrainingMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationMetrics
The validation metrics from the job creation.
- Parameters:
validationMetrics
- The validation metrics from the job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationMetrics
The validation metrics from the job creation.
- Parameters:
validationMetrics
- The validation metrics from the job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationMetrics
GetCustomModelResponse.Builder validationMetrics(Consumer<ValidatorMetric.Builder>... validationMetrics) The validation metrics from the job creation.
This is a convenience method that creates an instance of theValidatorMetric.Builder
avoiding the need to create one manually viaValidatorMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationMetrics(List<ValidatorMetric>)
.- Parameters:
validationMetrics
- a consumer that will call methods onValidatorMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Creation time of the model.
- Parameters:
creationTime
- Creation time of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-