Interface GetEvaluationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetEvaluationJobResponse.Builder,
,GetEvaluationJobResponse> SdkBuilder<GetEvaluationJobResponse.Builder,
,GetEvaluationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEvaluationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationType
(String applicationType) Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).applicationType
(ApplicationType applicationType) Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).creationTime
(Instant creationTime) The time the evaluation job was created.customerEncryptionKeyId
(String customerEncryptionKeyId) The Amazon Resource Name (ARN) of the customer managed encryption key specified when the evaluation job was created.default GetEvaluationJobResponse.Builder
evaluationConfig
(Consumer<EvaluationConfig.Builder> evaluationConfig) Contains the configuration details of either an automated or human-based evaluation job.evaluationConfig
(EvaluationConfig evaluationConfig) Contains the configuration details of either an automated or human-based evaluation job.failureMessages
(String... failureMessages) A list of strings that specify why the evaluation job failed to create.failureMessages
(Collection<String> failureMessages) A list of strings that specify why the evaluation job failed to create.default GetEvaluationJobResponse.Builder
inferenceConfig
(Consumer<EvaluationInferenceConfig.Builder> inferenceConfig) Contains the configuration details of the inference model used for the evaluation job.inferenceConfig
(EvaluationInferenceConfig inferenceConfig) Contains the configuration details of the inference model used for the evaluation job.The Amazon Resource Name (ARN) of the evaluation job.jobDescription
(String jobDescription) The description of the evaluation job.The name for the evaluation job.Specifies whether the evaluation job is automated or human-based.jobType
(EvaluationJobType jobType) Specifies whether the evaluation job is automated or human-based.lastModifiedTime
(Instant lastModifiedTime) The time the evaluation job was last modified.default GetEvaluationJobResponse.Builder
outputDataConfig
(Consumer<EvaluationOutputDataConfig.Builder> outputDataConfig) Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.outputDataConfig
(EvaluationOutputDataConfig outputDataConfig) Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.The Amazon Resource Name (ARN) of the IAM service role used in the evaluation job.The current status of the evaluation job.status
(EvaluationJobStatus status) The current status of the 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobName
The name for the evaluation job.
- Parameters:
jobName
- The name for the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the evaluation job.
- Parameters:
status
- The current status of the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the evaluation job.
- Parameters:
status
- The current status of the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobArn
The Amazon Resource Name (ARN) of the evaluation job.
- Parameters:
jobArn
- The Amazon Resource Name (ARN) of the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDescription
The description of the evaluation job.
- Parameters:
jobDescription
- The description of the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM service role used in the evaluation job.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM service role used in the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEncryptionKeyId
The Amazon Resource Name (ARN) of the customer managed encryption key specified when the evaluation job was created.
- Parameters:
customerEncryptionKeyId
- The Amazon Resource Name (ARN) of the customer managed encryption key specified when the evaluation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobType
Specifies whether the evaluation job is automated or human-based.
- Parameters:
jobType
- Specifies whether the evaluation job is automated or human-based.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobType
Specifies whether the evaluation job is automated or human-based.
- Parameters:
jobType
- Specifies whether the evaluation job is automated or human-based.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applicationType
Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).
- Parameters:
applicationType
- Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applicationType
Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).
- Parameters:
applicationType
- Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationConfig
Contains the configuration details of either an automated or human-based evaluation job.
- Parameters:
evaluationConfig
- Contains the configuration details of either an automated or human-based evaluation job.- 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 the configuration details of either an automated or human-based evaluation job.
This is a convenience method that creates an instance of theEvaluationConfig.Builder
avoiding the need to create one manually viaEvaluationConfig.builder()
.When the
Consumer
completes,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:
-
inferenceConfig
Contains the configuration details of the inference model used for the evaluation job.
- Parameters:
inferenceConfig
- Contains the configuration details of the inference model used for the 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) Contains the configuration details of the inference model used for the evaluation job.
This is a convenience method that creates an instance of theEvaluationInferenceConfig.Builder
avoiding the need to create one manually viaEvaluationInferenceConfig.builder()
.When the
Consumer
completes,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:
-
outputDataConfig
Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.
- Parameters:
outputDataConfig
- Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default GetEvaluationJobResponse.Builder outputDataConfig(Consumer<EvaluationOutputDataConfig.Builder> outputDataConfig) Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.
This is a convenience method that creates an instance of theEvaluationOutputDataConfig.Builder
avoiding the need to create one manually viaEvaluationOutputDataConfig.builder()
.When the
Consumer
completes,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:
-
creationTime
The time the evaluation job was created.
- Parameters:
creationTime
- The time the evaluation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time the evaluation job was last modified.
- Parameters:
lastModifiedTime
- The time the evaluation job was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessages
A list of strings that specify why the evaluation job failed to create.
- Parameters:
failureMessages
- A list of strings that specify why the evaluation job failed to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessages
A list of strings that specify why the evaluation job failed to create.
- Parameters:
failureMessages
- A list of strings that specify why the evaluation job failed to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-