Package com.pulumi.aws.bedrock
Class EvaluationJobArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.EvaluationJobArgs.Builder
-
- Enclosing class:
- EvaluationJobArgs
public static final class EvaluationJobArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EvaluationJobArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EvaluationJobArgs defaults)
-
-
Method Detail
-
applicationType
public EvaluationJobArgs.Builder applicationType(@Nullable com.pulumi.core.Output<java.lang.String> applicationType)
- Parameters:
applicationType- Whether the evaluation job evaluates a model or a knowledge base. Valid values: `ModelEvaluation`, `RagEvaluation`.- Returns:
- builder
-
applicationType
public EvaluationJobArgs.Builder applicationType(java.lang.String applicationType)
- Parameters:
applicationType- Whether the evaluation job evaluates a model or a knowledge base. Valid values: `ModelEvaluation`, `RagEvaluation`.- Returns:
- builder
-
customerEncryptionKeyId
public EvaluationJobArgs.Builder customerEncryptionKeyId(@Nullable com.pulumi.core.Output<java.lang.String> customerEncryptionKeyId)
- Parameters:
customerEncryptionKeyId- ARN of the customer managed KMS key to use to encrypt the evaluation job.- Returns:
- builder
-
customerEncryptionKeyId
public EvaluationJobArgs.Builder customerEncryptionKeyId(java.lang.String customerEncryptionKeyId)
- Parameters:
customerEncryptionKeyId- ARN of the customer managed KMS key to use to encrypt the evaluation job.- Returns:
- builder
-
evaluationConfig
public EvaluationJobArgs.Builder evaluationConfig(com.pulumi.core.Output<EvaluationJobEvaluationConfigArgs> evaluationConfig)
- Parameters:
evaluationConfig- Configuration for either an automated or human-based evaluation job. See `evaluationConfig` Block below.- Returns:
- builder
-
evaluationConfig
public EvaluationJobArgs.Builder evaluationConfig(EvaluationJobEvaluationConfigArgs evaluationConfig)
- Parameters:
evaluationConfig- Configuration for either an automated or human-based evaluation job. See `evaluationConfig` Block below.- Returns:
- builder
-
inferenceConfig
public EvaluationJobArgs.Builder inferenceConfig(com.pulumi.core.Output<EvaluationJobInferenceConfigArgs> inferenceConfig)
- Parameters:
inferenceConfig- Configuration for the inference model, or models, used for the evaluation job. See `inferenceConfig` Block below.- Returns:
- builder
-
inferenceConfig
public EvaluationJobArgs.Builder inferenceConfig(EvaluationJobInferenceConfigArgs inferenceConfig)
- Parameters:
inferenceConfig- Configuration for the inference model, or models, used for the evaluation job. See `inferenceConfig` Block below.- Returns:
- builder
-
jobDescription
public EvaluationJobArgs.Builder jobDescription(@Nullable com.pulumi.core.Output<java.lang.String> jobDescription)
- Parameters:
jobDescription- Description of the evaluation job.- Returns:
- builder
-
jobDescription
public EvaluationJobArgs.Builder jobDescription(java.lang.String jobDescription)
- Parameters:
jobDescription- Description of the evaluation job.- Returns:
- builder
-
jobName
public EvaluationJobArgs.Builder jobName(com.pulumi.core.Output<java.lang.String> jobName)
- Parameters:
jobName- Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.- Returns:
- builder
-
jobName
public EvaluationJobArgs.Builder jobName(java.lang.String jobName)
- Parameters:
jobName- Name for the evaluation job. Must be unique within your AWS account and Region, and consist of lowercase letters, numbers, and hyphens.- Returns:
- builder
-
outputDataConfig
public EvaluationJobArgs.Builder outputDataConfig(com.pulumi.core.Output<EvaluationJobOutputDataConfigArgs> outputDataConfig)
- Parameters:
outputDataConfig- Configuration for the Amazon S3 location where the results of the evaluation job are stored. See `outputDataConfig` Block below.- Returns:
- builder
-
outputDataConfig
public EvaluationJobArgs.Builder outputDataConfig(EvaluationJobOutputDataConfigArgs outputDataConfig)
- Parameters:
outputDataConfig- Configuration for the Amazon S3 location where the results of the evaluation job are stored. See `outputDataConfig` Block below.- Returns:
- builder
-
region
public EvaluationJobArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public EvaluationJobArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
roleArn
public EvaluationJobArgs.Builder roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn- ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See [Required permissions for model evaluations](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-security.html). The following arguments are optional:- Returns:
- builder
-
roleArn
public EvaluationJobArgs.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn- ARN of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. See [Required permissions for model evaluations](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-security.html). The following arguments are optional:- Returns:
- builder
-
skipDestroy
public EvaluationJobArgs.Builder skipDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
- Parameters:
skipDestroy- Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.- Returns:
- builder
-
skipDestroy
public EvaluationJobArgs.Builder skipDestroy(java.lang.Boolean skipDestroy)
- Parameters:
skipDestroy- Whether to leave the evaluation job in its current state when destroying the resource, instead of stopping it.- Returns:
- builder
-
tags
public EvaluationJobArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the evaluation job. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public EvaluationJobArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the evaluation job. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
timeouts
public EvaluationJobArgs.Builder timeouts(@Nullable com.pulumi.core.Output<EvaluationJobTimeoutsArgs> timeouts)
-
timeouts
public EvaluationJobArgs.Builder timeouts(EvaluationJobTimeoutsArgs timeouts)
-
build
public EvaluationJobArgs build()
-
-