Interface GetCustomModelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetCustomModelResponse.Builder,GetCustomModelResponse>,SdkBuilder<GetCustomModelResponse.Builder,GetCustomModelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCustomModelResponse
public static interface GetCustomModelResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetCustomModelResponse.Builder,GetCustomModelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetCustomModelResponse.BuilderbaseModelArn(String baseModelArn)ARN of the base model.GetCustomModelResponse.BuildercreationTime(Instant creationTime)Creation time of the model.GetCustomModelResponse.BuildercustomizationType(String customizationType)The type of model customization.GetCustomModelResponse.BuildercustomizationType(CustomizationType customizationType)The type of model customization.GetCustomModelResponse.BuilderhyperParameters(Map<String,String> hyperParameters)Hyperparameter values associated with this model.GetCustomModelResponse.BuilderjobArn(String jobArn)Job ARN associated with this model.GetCustomModelResponse.BuilderjobName(String jobName)Job name associated with this model.GetCustomModelResponse.BuildermodelArn(String modelArn)ARN associated with this model.GetCustomModelResponse.BuildermodelKmsKeyArn(String modelKmsKeyArn)The custom model is encrypted at rest using this key.GetCustomModelResponse.BuildermodelName(String modelName)Model name associated with this model.default GetCustomModelResponse.BuilderoutputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)Output data configuration associated with this custom model.GetCustomModelResponse.BuilderoutputDataConfig(OutputDataConfig outputDataConfig)Output data configuration associated with this custom model.default GetCustomModelResponse.BuildertrainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig)Information about the training dataset.GetCustomModelResponse.BuildertrainingDataConfig(TrainingDataConfig trainingDataConfig)Information about the training dataset.default GetCustomModelResponse.BuildertrainingMetrics(Consumer<TrainingMetrics.Builder> trainingMetrics)The training metrics from the job creation.GetCustomModelResponse.BuildertrainingMetrics(TrainingMetrics trainingMetrics)The training metrics from the job creation.default GetCustomModelResponse.BuildervalidationDataConfig(Consumer<ValidationDataConfig.Builder> validationDataConfig)Sets the value of the ValidationDataConfig property for this object.GetCustomModelResponse.BuildervalidationDataConfig(ValidationDataConfig validationDataConfig)Sets the value of the ValidationDataConfig property for this object.GetCustomModelResponse.BuildervalidationMetrics(Collection<ValidatorMetric> validationMetrics)The validation metrics from the job creation.GetCustomModelResponse.BuildervalidationMetrics(Consumer<ValidatorMetric.Builder>... validationMetrics)The validation metrics from the job creation.GetCustomModelResponse.BuildervalidationMetrics(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 Detail
-
modelArn
GetCustomModelResponse.Builder modelArn(String 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
GetCustomModelResponse.Builder modelName(String 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
GetCustomModelResponse.Builder jobName(String 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
GetCustomModelResponse.Builder jobArn(String 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
GetCustomModelResponse.Builder baseModelArn(String 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.
-
customizationType
GetCustomModelResponse.Builder customizationType(String 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,CustomizationType
-
customizationType
GetCustomModelResponse.Builder customizationType(CustomizationType 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,CustomizationType
-
modelKmsKeyArn
GetCustomModelResponse.Builder modelKmsKeyArn(String 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
GetCustomModelResponse.Builder hyperParameters(Map<String,String> 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
GetCustomModelResponse.Builder trainingDataConfig(TrainingDataConfig 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.Builderavoiding the need to create one manually viaTrainingDataConfig.builder().When the
Consumercompletes,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:
trainingDataConfig(TrainingDataConfig)
-
validationDataConfig
GetCustomModelResponse.Builder validationDataConfig(ValidationDataConfig 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.Builderavoiding the need to create one manually viaValidationDataConfig.builder().When the
Consumercompletes,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:
validationDataConfig(ValidationDataConfig)
-
outputDataConfig
GetCustomModelResponse.Builder outputDataConfig(OutputDataConfig 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.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,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:
outputDataConfig(OutputDataConfig)
-
trainingMetrics
GetCustomModelResponse.Builder trainingMetrics(TrainingMetrics 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.Builderavoiding the need to create one manually viaTrainingMetrics.builder().When the
Consumercompletes,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:
trainingMetrics(TrainingMetrics)
-
validationMetrics
GetCustomModelResponse.Builder validationMetrics(Collection<ValidatorMetric> 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(ValidatorMetric... 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.Builderavoiding the need to create one manually viaValidatorMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationMetrics(List.) - 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:
#validationMetrics(java.util.Collection)
-
creationTime
GetCustomModelResponse.Builder creationTime(Instant 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.
-
-