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) Amazon Resource Name (ARN) of the base model.creationTime
(Instant creationTime) Creation time of the model.default GetCustomModelResponse.Builder
customizationConfig
(Consumer<CustomizationConfig.Builder> customizationConfig) The customization configuration for the custom model.customizationConfig
(CustomizationConfig customizationConfig) The customization configuration for the custom model.customizationType
(String customizationType) The type of model customization.customizationType
(CustomizationType customizationType) The type of model customization.failureMessage
(String failureMessage) A failure message for any issues that occurred when creating the custom model.hyperParameters
(Map<String, String> hyperParameters) Hyperparameter values associated with this model.Job Amazon Resource Name (ARN) associated with this model.Job name associated with this model.Amazon Resource Name (ARN) associated with this model.modelKmsKeyArn
(String modelKmsKeyArn) The custom model is encrypted at rest using this key.Model name associated with this model.modelStatus
(String modelStatus) The current status of the custom model.modelStatus
(ModelStatus modelStatus) The current status of the custom 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) Contains information about the training dataset.trainingDataConfig
(TrainingDataConfig trainingDataConfig) Contains information about the training dataset.default GetCustomModelResponse.Builder
trainingMetrics
(Consumer<TrainingMetrics.Builder> trainingMetrics) Contains training metrics from the job creation.trainingMetrics
(TrainingMetrics trainingMetrics) Contains training metrics from the job creation.default GetCustomModelResponse.Builder
validationDataConfig
(Consumer<ValidationDataConfig.Builder> validationDataConfig) Contains information about the validation dataset.validationDataConfig
(ValidationDataConfig validationDataConfig) Contains information about the validation dataset.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelArn
Amazon Resource Name (ARN) associated with this model.
- Parameters:
modelArn
- Amazon Resource Name (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 Amazon Resource Name (ARN) associated with this model. For models that you create with the CreateCustomModel API operation, this is
NULL
.- Parameters:
jobArn
- Job Amazon Resource Name (ARN) associated with this model. For models that you create with the CreateCustomModel API operation, this isNULL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseModelArn
Amazon Resource Name (ARN) of the base model.
- Parameters:
baseModelArn
- Amazon Resource Name (ARN) of the base model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationType
The type of model customization.
- Parameters:
customizationType
- The type of model customization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customizationType
The type of model customization.
- Parameters:
customizationType
- The type of model customization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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. For details on the format for different models, see Custom model hyperparameters.
- Parameters:
hyperParameters
- Hyperparameter values associated with this model. For details on the format for different models, see Custom model hyperparameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
Contains information about the training dataset.
- Parameters:
trainingDataConfig
- Contains 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) Contains 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
Contains information about the validation dataset.
- Parameters:
validationDataConfig
- Contains information about the validation dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationDataConfig
default GetCustomModelResponse.Builder validationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig) Contains information about the validation dataset.
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
Contains training metrics from the job creation.
- Parameters:
trainingMetrics
- Contains 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) Contains 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.
-
customizationConfig
The customization configuration for the custom model.
- Parameters:
customizationConfig
- The customization configuration for the custom model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customizationConfig
default GetCustomModelResponse.Builder customizationConfig(Consumer<CustomizationConfig.Builder> customizationConfig) The customization configuration for the custom model.
This is a convenience method that creates an instance of theCustomizationConfig.Builder
avoiding the need to create one manually viaCustomizationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomizationConfig(CustomizationConfig)
.- Parameters:
customizationConfig
- a consumer that will call methods onCustomizationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelStatus
The current status of the custom model. Possible values include:
-
Creating
- The model is being created and validated. -
Active
- The model has been successfully created and is ready for use. -
Failed
- The model creation process failed. Check thefailureMessage
field for details.
- Parameters:
modelStatus
- The current status of the custom model. Possible values include:-
Creating
- The model is being created and validated. -
Active
- The model has been successfully created and is ready for use. -
Failed
- The model creation process failed. Check thefailureMessage
field for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
modelStatus
The current status of the custom model. Possible values include:
-
Creating
- The model is being created and validated. -
Active
- The model has been successfully created and is ready for use. -
Failed
- The model creation process failed. Check thefailureMessage
field for details.
- Parameters:
modelStatus
- The current status of the custom model. Possible values include:-
Creating
- The model is being created and validated. -
Active
- The model has been successfully created and is ready for use. -
Failed
- The model creation process failed. Check thefailureMessage
field for details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failureMessage
A failure message for any issues that occurred when creating the custom model. This is included for only a failed CreateCustomModel operation.
- Parameters:
failureMessage
- A failure message for any issues that occurred when creating the custom model. This is included for only a failed CreateCustomModel operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-