Interface GetEvaluationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>,SdkBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetEvaluationJobResponse
public static interface GetEvaluationJobResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetEvaluationJobResponse.BuildercreationTime(Instant creationTime)When the model evaluation job was created.GetEvaluationJobResponse.BuildercustomerEncryptionKeyId(String customerEncryptionKeyId)The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.default GetEvaluationJobResponse.BuilderevaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig)Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.GetEvaluationJobResponse.BuilderevaluationConfig(EvaluationConfig evaluationConfig)Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.GetEvaluationJobResponse.BuilderfailureMessages(String... failureMessages)An array of strings the specify why the model evaluation job has failed.GetEvaluationJobResponse.BuilderfailureMessages(Collection<String> failureMessages)An array of strings the specify why the model evaluation job has failed.default GetEvaluationJobResponse.BuilderinferenceConfig(Consumer<EvaluationInferenceConfig.Builder> inferenceConfig)Details about the models you specified in your model evaluation job.GetEvaluationJobResponse.BuilderinferenceConfig(EvaluationInferenceConfig inferenceConfig)Details about the models you specified in your model evaluation job.GetEvaluationJobResponse.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the model evaluation job.GetEvaluationJobResponse.BuilderjobDescription(String jobDescription)The description of the model evaluation job.GetEvaluationJobResponse.BuilderjobName(String jobName)The name of the model evaluation job.GetEvaluationJobResponse.BuilderjobType(String jobType)The type of model evaluation job.GetEvaluationJobResponse.BuilderjobType(EvaluationJobType jobType)The type of model evaluation job.GetEvaluationJobResponse.BuilderlastModifiedTime(Instant lastModifiedTime)When the model evaluation job was last modified.default GetEvaluationJobResponse.BuilderoutputDataConfig(Consumer<EvaluationOutputDataConfig.Builder> outputDataConfig)Amazon S3 location for where output data is saved.GetEvaluationJobResponse.BuilderoutputDataConfig(EvaluationOutputDataConfig outputDataConfig)Amazon S3 location for where output data is saved.GetEvaluationJobResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.GetEvaluationJobResponse.Builderstatus(String status)The status of the model evaluation job.GetEvaluationJobResponse.Builderstatus(EvaluationJobStatus status)The status of the model evaluation job.-
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
-
jobName
GetEvaluationJobResponse.Builder jobName(String jobName)
The name of the model evaluation job.
- Parameters:
jobName- The name of the model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetEvaluationJobResponse.Builder status(String status)
The status of the model evaluation job.
- Parameters:
status- The status of the model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EvaluationJobStatus,EvaluationJobStatus
-
status
GetEvaluationJobResponse.Builder status(EvaluationJobStatus status)
The status of the model evaluation job.
- Parameters:
status- The status of the model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EvaluationJobStatus,EvaluationJobStatus
-
jobArn
GetEvaluationJobResponse.Builder jobArn(String jobArn)
The Amazon Resource Name (ARN) of the model evaluation job.
- Parameters:
jobArn- The Amazon Resource Name (ARN) of the model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDescription
GetEvaluationJobResponse.Builder jobDescription(String jobDescription)
The description of the model evaluation job.
- Parameters:
jobDescription- The description of the model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
GetEvaluationJobResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEncryptionKeyId
GetEvaluationJobResponse.Builder customerEncryptionKeyId(String customerEncryptionKeyId)
The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.
- Parameters:
customerEncryptionKeyId- The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobType
GetEvaluationJobResponse.Builder jobType(String jobType)
The type of model evaluation job.
- Parameters:
jobType- The type of model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EvaluationJobType,EvaluationJobType
-
jobType
GetEvaluationJobResponse.Builder jobType(EvaluationJobType jobType)
The type of model evaluation job.
- Parameters:
jobType- The type of model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EvaluationJobType,EvaluationJobType
-
evaluationConfig
GetEvaluationJobResponse.Builder evaluationConfig(EvaluationConfig evaluationConfig)
Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.
- Parameters:
evaluationConfig- Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationConfig
default GetEvaluationJobResponse.Builder evaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig)
Contains details about the type of model evaluation job, the metrics used, the task type selected, the datasets used, and any custom metrics you defined.
This is a convenience method that creates an instance of theEvaluationConfig.Builderavoiding the need to create one manually viaEvaluationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationConfig(EvaluationConfig).- Parameters:
evaluationConfig- a consumer that will call methods onEvaluationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluationConfig(EvaluationConfig)
-
inferenceConfig
GetEvaluationJobResponse.Builder inferenceConfig(EvaluationInferenceConfig inferenceConfig)
Details about the models you specified in your model evaluation job.
- Parameters:
inferenceConfig- Details about the models you specified in your model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceConfig
default GetEvaluationJobResponse.Builder inferenceConfig(Consumer<EvaluationInferenceConfig.Builder> inferenceConfig)
Details about the models you specified in your model evaluation job.
This is a convenience method that creates an instance of theEvaluationInferenceConfig.Builderavoiding the need to create one manually viaEvaluationInferenceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinferenceConfig(EvaluationInferenceConfig).- Parameters:
inferenceConfig- a consumer that will call methods onEvaluationInferenceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inferenceConfig(EvaluationInferenceConfig)
-
outputDataConfig
GetEvaluationJobResponse.Builder outputDataConfig(EvaluationOutputDataConfig outputDataConfig)
Amazon S3 location for where output data is saved.
- Parameters:
outputDataConfig- Amazon S3 location for where output data is saved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default GetEvaluationJobResponse.Builder outputDataConfig(Consumer<EvaluationOutputDataConfig.Builder> outputDataConfig)
Amazon S3 location for where output data is saved.
This is a convenience method that creates an instance of theEvaluationOutputDataConfig.Builderavoiding the need to create one manually viaEvaluationOutputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(EvaluationOutputDataConfig).- Parameters:
outputDataConfig- a consumer that will call methods onEvaluationOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(EvaluationOutputDataConfig)
-
creationTime
GetEvaluationJobResponse.Builder creationTime(Instant creationTime)
When the model evaluation job was created.
- Parameters:
creationTime- When the model evaluation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
GetEvaluationJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)
When the model evaluation job was last modified.
- Parameters:
lastModifiedTime- When the model evaluation job was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessages
GetEvaluationJobResponse.Builder failureMessages(Collection<String> failureMessages)
An array of strings the specify why the model evaluation job has failed.
- Parameters:
failureMessages- An array of strings the specify why the model evaluation job has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessages
GetEvaluationJobResponse.Builder failureMessages(String... failureMessages)
An array of strings the specify why the model evaluation job has failed.
- Parameters:
failureMessages- An array of strings the specify why the model evaluation job has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-