JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.bedrock.model

Class CreateEvaluationJobRequest

    • Constructor Detail

      • CreateEvaluationJobRequest

        public CreateEvaluationJobRequest()
    • Method Detail

      • setJobName

        public void setJobName(String jobName)

        The name of the model evaluation job. Model evaluation job names must unique with your AWS account, and your account's AWS region.

        Parameters:
        jobName - The name of the model evaluation job. Model evaluation job names must unique with your AWS account, and your account's AWS region.
      • getJobName

        public String getJobName()

        The name of the model evaluation job. Model evaluation job names must unique with your AWS account, and your account's AWS region.

        Returns:
        The name of the model evaluation job. Model evaluation job names must unique with your AWS account, and your account's AWS region.
      • withJobName

        public CreateEvaluationJobRequest withJobName(String jobName)

        The name of the model evaluation job. Model evaluation job names must unique with your AWS account, and your account's AWS region.

        Parameters:
        jobName - The name of the model evaluation job. Model evaluation job names must unique with your AWS account, and your account's AWS region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setJobDescription

        public void setJobDescription(String jobDescription)

        A description of the model evaluation job.

        Parameters:
        jobDescription - A description of the model evaluation job.
      • getJobDescription

        public String getJobDescription()

        A description of the model evaluation job.

        Returns:
        A description of the model evaluation job.
      • withJobDescription

        public CreateEvaluationJobRequest withJobDescription(String jobDescription)

        A description of the model evaluation job.

        Parameters:
        jobDescription - A description of the model evaluation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientRequestToken

        public void setClientRequestToken(String clientRequestToken)

        A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

        Parameters:
        clientRequestToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
      • getClientRequestToken

        public String getClientRequestToken()

        A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

        Returns:
        A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
      • withClientRequestToken

        public CreateEvaluationJobRequest withClientRequestToken(String clientRequestToken)

        A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

        Parameters:
        clientRequestToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRoleArn

        public void setRoleArn(String roleArn)

        The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the EvaluationConfig object. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission. To learn more about the required permissions, see Required permissions.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the EvaluationConfig object. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission. To learn more about the required permissions, see Required permissions.
      • getRoleArn

        public String getRoleArn()

        The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the EvaluationConfig object. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission. To learn more about the required permissions, see Required permissions.

        Returns:
        The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the EvaluationConfig object. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission. To learn more about the required permissions, see Required permissions.
      • withRoleArn

        public CreateEvaluationJobRequest withRoleArn(String roleArn)

        The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the EvaluationConfig object. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission. To learn more about the required permissions, see Required permissions.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the EvaluationConfig object. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission. To learn more about the required permissions, see Required permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCustomerEncryptionKeyId

        public void setCustomerEncryptionKeyId(String customerEncryptionKeyId)

        Specify your customer managed key ARN that will be used to encrypt your model evaluation job.

        Parameters:
        customerEncryptionKeyId - Specify your customer managed key ARN that will be used to encrypt your model evaluation job.
      • getCustomerEncryptionKeyId

        public String getCustomerEncryptionKeyId()

        Specify your customer managed key ARN that will be used to encrypt your model evaluation job.

        Returns:
        Specify your customer managed key ARN that will be used to encrypt your model evaluation job.
      • withCustomerEncryptionKeyId

        public CreateEvaluationJobRequest withCustomerEncryptionKeyId(String customerEncryptionKeyId)

        Specify your customer managed key ARN that will be used to encrypt your model evaluation job.

        Parameters:
        customerEncryptionKeyId - Specify your customer managed key ARN that will be used to encrypt your model evaluation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getJobTags

        public List<Tag> getJobTags()

        Tags to attach to the model evaluation job.

        Returns:
        Tags to attach to the model evaluation job.
      • setJobTags

        public void setJobTags(Collection<Tag> jobTags)

        Tags to attach to the model evaluation job.

        Parameters:
        jobTags - Tags to attach to the model evaluation job.
      • withJobTags

        public CreateEvaluationJobRequest withJobTags(Collection<Tag> jobTags)

        Tags to attach to the model evaluation job.

        Parameters:
        jobTags - Tags to attach to the model evaluation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEvaluationConfig

        public void setEvaluationConfig(EvaluationConfig evaluationConfig)

        Specifies whether the model evaluation job is automatic or uses human worker.

        Parameters:
        evaluationConfig - Specifies whether the model evaluation job is automatic or uses human worker.
      • getEvaluationConfig

        public EvaluationConfig getEvaluationConfig()

        Specifies whether the model evaluation job is automatic or uses human worker.

        Returns:
        Specifies whether the model evaluation job is automatic or uses human worker.
      • withEvaluationConfig

        public CreateEvaluationJobRequest withEvaluationConfig(EvaluationConfig evaluationConfig)

        Specifies whether the model evaluation job is automatic or uses human worker.

        Parameters:
        evaluationConfig - Specifies whether the model evaluation job is automatic or uses human worker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInferenceConfig

        public void setInferenceConfig(EvaluationInferenceConfig inferenceConfig)

        Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.

        Parameters:
        inferenceConfig - Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.
      • getInferenceConfig

        public EvaluationInferenceConfig getInferenceConfig()

        Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.

        Returns:
        Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.
      • withInferenceConfig

        public CreateEvaluationJobRequest withInferenceConfig(EvaluationInferenceConfig inferenceConfig)

        Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.

        Parameters:
        inferenceConfig - Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOutputDataConfig

        public void setOutputDataConfig(EvaluationOutputDataConfig outputDataConfig)

        An object that defines where the results of model evaluation job will be saved in Amazon S3.

        Parameters:
        outputDataConfig - An object that defines where the results of model evaluation job will be saved in Amazon S3.
      • getOutputDataConfig

        public EvaluationOutputDataConfig getOutputDataConfig()

        An object that defines where the results of model evaluation job will be saved in Amazon S3.

        Returns:
        An object that defines where the results of model evaluation job will be saved in Amazon S3.
      • withOutputDataConfig

        public CreateEvaluationJobRequest withOutputDataConfig(EvaluationOutputDataConfig outputDataConfig)

        An object that defines where the results of model evaluation job will be saved in Amazon S3.

        Parameters:
        outputDataConfig - An object that defines where the results of model evaluation job will be saved in Amazon S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /