Interface CreateJobRequest.Builder

    • Method Detail

      • algorithmSpecification

        CreateJobRequest.Builder algorithmSpecification​(AlgorithmSpecification algorithmSpecification)

        Definition of the Amazon Braket job to be created. Specifies the container image the job uses and information about the Python scripts used for entry and training.

        Parameters:
        algorithmSpecification - Definition of the Amazon Braket job to be created. Specifies the container image the job uses and information about the Python scripts used for entry and training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associations

        CreateJobRequest.Builder associations​(Collection<Association> associations)

        The list of Amazon Braket resources associated with the hybrid job.

        Parameters:
        associations - The list of Amazon Braket resources associated with the hybrid job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associations

        CreateJobRequest.Builder associations​(Association... associations)

        The list of Amazon Braket resources associated with the hybrid job.

        Parameters:
        associations - The list of Amazon Braket resources associated with the hybrid job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checkpointConfig

        CreateJobRequest.Builder checkpointConfig​(JobCheckpointConfig checkpointConfig)

        Information about the output locations for job checkpoint data.

        Parameters:
        checkpointConfig - Information about the output locations for job checkpoint data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateJobRequest.Builder clientToken​(String clientToken)

        A unique token that guarantees that the call to this API is idempotent.

        Parameters:
        clientToken - A unique token that guarantees that the call to this API is idempotent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceConfig

        CreateJobRequest.Builder deviceConfig​(DeviceConfig deviceConfig)

        The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.

        Parameters:
        deviceConfig - The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hyperParameters

        CreateJobRequest.Builder hyperParameters​(Map<String,​String> hyperParameters)

        Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the training job. The values are set with a string of JSON key:value pairs, where the key is the name of the hyperparameter and the value is the value of th hyperparameter.

        Parameters:
        hyperParameters - Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the training job. The values are set with a string of JSON key:value pairs, where the key is the name of the hyperparameter and the value is the value of th hyperparameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputDataConfig

        CreateJobRequest.Builder inputDataConfig​(Collection<InputFileConfig> inputDataConfig)

        A list of parameters that specify the name and type of input data and where it is located.

        Parameters:
        inputDataConfig - A list of parameters that specify the name and type of input data and where it is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputDataConfig

        CreateJobRequest.Builder inputDataConfig​(InputFileConfig... inputDataConfig)

        A list of parameters that specify the name and type of input data and where it is located.

        Parameters:
        inputDataConfig - A list of parameters that specify the name and type of input data and where it is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceConfig

        CreateJobRequest.Builder instanceConfig​(InstanceConfig instanceConfig)

        Configuration of the resource instances to use while running the hybrid job on Amazon Braket.

        Parameters:
        instanceConfig - Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobName

        CreateJobRequest.Builder jobName​(String jobName)

        The name of the Amazon Braket job.

        Parameters:
        jobName - The name of the Amazon Braket job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputDataConfig

        CreateJobRequest.Builder outputDataConfig​(JobOutputDataConfig outputDataConfig)

        The path to the S3 location where you want to store job artifacts and the encryption key used to store them.

        Parameters:
        outputDataConfig - The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CreateJobRequest.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user. It can access user resources, run an Amazon Braket job container on behalf of user, and output resources to the users' s3 buckets.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user. It can access user resources, run an Amazon Braket job container on behalf of user, and output resources to the users' s3 buckets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stoppingCondition

        CreateJobRequest.Builder stoppingCondition​(JobStoppingCondition stoppingCondition)

        The user-defined criteria that specifies when a job stops running.

        Parameters:
        stoppingCondition - The user-defined criteria that specifies when a job stops running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateJobRequest.Builder tags​(Map<String,​String> tags)

        A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.

        Parameters:
        tags - A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.