Interface GetEvaluationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>,SdkBuilder<GetEvaluationJobResponse.Builder,GetEvaluationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetEvaluationJobResponse
@Mutable @NotThreadSafe 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.BuilderapplicationType(String applicationType)Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).GetEvaluationJobResponse.BuilderapplicationType(ApplicationType applicationType)Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).GetEvaluationJobResponse.BuildercreationTime(Instant creationTime)The time the evaluation job was created.GetEvaluationJobResponse.BuildercustomerEncryptionKeyId(String customerEncryptionKeyId)The Amazon Resource Name (ARN) of the customer managed encryption key specified when the evaluation job was created.default GetEvaluationJobResponse.BuilderevaluationConfig(Consumer<EvaluationConfig.Builder> evaluationConfig)Contains the configuration details of either an automated or human-based evaluation job.GetEvaluationJobResponse.BuilderevaluationConfig(EvaluationConfig evaluationConfig)Contains the configuration details of either an automated or human-based evaluation job.GetEvaluationJobResponse.BuilderfailureMessages(String... failureMessages)A list of strings that specify why the evaluation job failed to create.GetEvaluationJobResponse.BuilderfailureMessages(Collection<String> failureMessages)A list of strings that specify why the evaluation job failed to create.default GetEvaluationJobResponse.BuilderinferenceConfig(Consumer<EvaluationInferenceConfig.Builder> inferenceConfig)Contains the configuration details of the inference model used for the evaluation job.GetEvaluationJobResponse.BuilderinferenceConfig(EvaluationInferenceConfig inferenceConfig)Contains the configuration details of the inference model used for the evaluation job.GetEvaluationJobResponse.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the evaluation job.GetEvaluationJobResponse.BuilderjobDescription(String jobDescription)The description of the evaluation job.GetEvaluationJobResponse.BuilderjobName(String jobName)The name for the evaluation job.GetEvaluationJobResponse.BuilderjobType(String jobType)Specifies whether the evaluation job is automated or human-based.GetEvaluationJobResponse.BuilderjobType(EvaluationJobType jobType)Specifies whether the evaluation job is automated or human-based.GetEvaluationJobResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The time the evaluation job was last modified.default GetEvaluationJobResponse.BuilderoutputDataConfig(Consumer<EvaluationOutputDataConfig.Builder> outputDataConfig)Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.GetEvaluationJobResponse.BuilderoutputDataConfig(EvaluationOutputDataConfig outputDataConfig)Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.GetEvaluationJobResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM service role used in the evaluation job.GetEvaluationJobResponse.Builderstatus(String status)The current status of the evaluation job.GetEvaluationJobResponse.Builderstatus(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 Detail
-
jobName
GetEvaluationJobResponse.Builder jobName(String 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
GetEvaluationJobResponse.Builder status(String 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:
EvaluationJobStatus,EvaluationJobStatus
-
status
GetEvaluationJobResponse.Builder status(EvaluationJobStatus 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:
EvaluationJobStatus,EvaluationJobStatus
-
jobArn
GetEvaluationJobResponse.Builder jobArn(String 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
GetEvaluationJobResponse.Builder jobDescription(String 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
GetEvaluationJobResponse.Builder roleArn(String 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
GetEvaluationJobResponse.Builder customerEncryptionKeyId(String 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
GetEvaluationJobResponse.Builder jobType(String 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:
EvaluationJobType,EvaluationJobType
-
jobType
GetEvaluationJobResponse.Builder jobType(EvaluationJobType 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:
EvaluationJobType,EvaluationJobType
-
applicationType
GetEvaluationJobResponse.Builder applicationType(String 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,ApplicationType
-
applicationType
GetEvaluationJobResponse.Builder applicationType(ApplicationType 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,ApplicationType
-
evaluationConfig
GetEvaluationJobResponse.Builder evaluationConfig(EvaluationConfig 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.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)
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.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)
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.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)
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
GetEvaluationJobResponse.Builder lastModifiedTime(Instant 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
GetEvaluationJobResponse.Builder failureMessages(Collection<String> 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
GetEvaluationJobResponse.Builder failureMessages(String... 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.
-
-