Class EvaluationJobState.Builder

  • Enclosing class:
    EvaluationJobState

    public static final class EvaluationJobState.Builder
    extends java.lang.Object
    • Method Detail

      • applicationType

        public EvaluationJobState.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 EvaluationJobState.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
      • createdAt

        public EvaluationJobState.Builder createdAt​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Date and time the evaluation job was created.
        Returns:
        builder
      • createdAt

        public EvaluationJobState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Date and time the evaluation job was created.
        Returns:
        builder
      • customerEncryptionKeyId

        public EvaluationJobState.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 EvaluationJobState.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 EvaluationJobState.Builder evaluationConfig​(@Nullable
                                                           com.pulumi.core.Output<EvaluationJobEvaluationConfigArgs> evaluationConfig)
        Parameters:
        evaluationConfig - Configuration for either an automated or human-based evaluation job. See `evaluationConfig` Block below.
        Returns:
        builder
      • failureMessages

        public EvaluationJobState.Builder failureMessages​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> failureMessages)
        Parameters:
        failureMessages - List of reasons the evaluation job failed to create, if applicable.
        Returns:
        builder
      • failureMessages

        public EvaluationJobState.Builder failureMessages​(java.util.List<java.lang.String> failureMessages)
        Parameters:
        failureMessages - List of reasons the evaluation job failed to create, if applicable.
        Returns:
        builder
      • failureMessages

        public EvaluationJobState.Builder failureMessages​(java.lang.String... failureMessages)
        Parameters:
        failureMessages - List of reasons the evaluation job failed to create, if applicable.
        Returns:
        builder
      • inferenceConfig

        public EvaluationJobState.Builder inferenceConfig​(@Nullable
                                                          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
      • jobArn

        public EvaluationJobState.Builder jobArn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> jobArn)
        Parameters:
        jobArn - ARN of the evaluation job.
        Returns:
        builder
      • jobArn

        public EvaluationJobState.Builder jobArn​(java.lang.String jobArn)
        Parameters:
        jobArn - ARN of the evaluation job.
        Returns:
        builder
      • jobDescription

        public EvaluationJobState.Builder jobDescription​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> jobDescription)
        Parameters:
        jobDescription - Description of the evaluation job.
        Returns:
        builder
      • jobDescription

        public EvaluationJobState.Builder jobDescription​(java.lang.String jobDescription)
        Parameters:
        jobDescription - Description of the evaluation job.
        Returns:
        builder
      • jobName

        public EvaluationJobState.Builder jobName​(@Nullable
                                                  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 EvaluationJobState.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
      • jobType

        public EvaluationJobState.Builder jobType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> jobType)
        Parameters:
        jobType - Whether the evaluation job is automated or human-based.
        Returns:
        builder
      • jobType

        public EvaluationJobState.Builder jobType​(java.lang.String jobType)
        Parameters:
        jobType - Whether the evaluation job is automated or human-based.
        Returns:
        builder
      • lastModifiedTime

        public EvaluationJobState.Builder lastModifiedTime​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> lastModifiedTime)
        Parameters:
        lastModifiedTime - Date and time the evaluation job was last modified.
        Returns:
        builder
      • lastModifiedTime

        public EvaluationJobState.Builder lastModifiedTime​(java.lang.String lastModifiedTime)
        Parameters:
        lastModifiedTime - Date and time the evaluation job was last modified.
        Returns:
        builder
      • outputDataConfig

        public EvaluationJobState.Builder outputDataConfig​(@Nullable
                                                           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 EvaluationJobState.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 EvaluationJobState.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 EvaluationJobState.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 EvaluationJobState.Builder roleArn​(@Nullable
                                                  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 EvaluationJobState.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 EvaluationJobState.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 EvaluationJobState.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
      • status

        public EvaluationJobState.Builder status​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Current status of the evaluation job.
        Returns:
        builder
      • status

        public EvaluationJobState.Builder status​(java.lang.String status)
        Parameters:
        status - Current status of the evaluation job.
        Returns:
        builder
      • tags

        public EvaluationJobState.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 EvaluationJobState.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
      • tagsAll

        public EvaluationJobState.Builder tagsAll​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public EvaluationJobState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder