Interface CreateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BraketRequest.Builder
,Buildable
,CopyableBuilder<CreateJobRequest.Builder,
,CreateJobRequest> SdkBuilder<CreateJobRequest.Builder,
,CreateJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateJobRequest.Builder
algorithmSpecification
(Consumer<AlgorithmSpecification.Builder> algorithmSpecification) Definition of the Amazon Braket job to be created.algorithmSpecification
(AlgorithmSpecification algorithmSpecification) Definition of the Amazon Braket job to be created.associations
(Collection<Association> associations) The list of Amazon Braket resources associated with the hybrid job.associations
(Consumer<Association.Builder>... associations) The list of Amazon Braket resources associated with the hybrid job.associations
(Association... associations) The list of Amazon Braket resources associated with the hybrid job.default CreateJobRequest.Builder
checkpointConfig
(Consumer<JobCheckpointConfig.Builder> checkpointConfig) Information about the output locations for job checkpoint data.checkpointConfig
(JobCheckpointConfig checkpointConfig) Information about the output locations for job checkpoint data.clientToken
(String clientToken) A unique token that guarantees that the call to this API is idempotent.default CreateJobRequest.Builder
deviceConfig
(Consumer<DeviceConfig.Builder> deviceConfig) The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.deviceConfig
(DeviceConfig deviceConfig) The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.hyperParameters
(Map<String, String> hyperParameters) Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the training job.inputDataConfig
(Collection<InputFileConfig> inputDataConfig) A list of parameters that specify the name and type of input data and where it is located.inputDataConfig
(Consumer<InputFileConfig.Builder>... inputDataConfig) A list of parameters that specify the name and type of input data and where it is located.inputDataConfig
(InputFileConfig... inputDataConfig) A list of parameters that specify the name and type of input data and where it is located.default CreateJobRequest.Builder
instanceConfig
(Consumer<InstanceConfig.Builder> instanceConfig) Configuration of the resource instances to use while running the hybrid job on Amazon Braket.instanceConfig
(InstanceConfig instanceConfig) Configuration of the resource instances to use while running the hybrid job on Amazon Braket.The name of the Amazon Braket job.default CreateJobRequest.Builder
outputDataConfig
(Consumer<JobOutputDataConfig.Builder> outputDataConfig) The path to the S3 location where you want to store job artifacts and the encryption key used to store them.outputDataConfig
(JobOutputDataConfig outputDataConfig) The path to the S3 location where you want to store job artifacts and the encryption key used to store them.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user.default CreateJobRequest.Builder
stoppingCondition
(Consumer<JobStoppingCondition.Builder> stoppingCondition) The user-defined criteria that specifies when a job stops running.stoppingCondition
(JobStoppingCondition stoppingCondition) The user-defined criteria that specifies when a job stops running.A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketRequest.Builder
build
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, sdkFields
-
Method Details
-
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.
-
algorithmSpecification
default CreateJobRequest.Builder algorithmSpecification(Consumer<AlgorithmSpecification.Builder> 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.
This is a convenience method that creates an instance of theAlgorithmSpecification.Builder
avoiding the need to create one manually viaAlgorithmSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalgorithmSpecification(AlgorithmSpecification)
.- Parameters:
algorithmSpecification
- a consumer that will call methods onAlgorithmSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The list of Amazon Braket resources associated with the hybrid job.
This is a convenience method that creates an instance of theAssociation.Builder
avoiding the need to create one manually viaAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociations(List<Association>)
.- Parameters:
associations
- a consumer that will call methods onAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
checkpointConfig
default CreateJobRequest.Builder checkpointConfig(Consumer<JobCheckpointConfig.Builder> checkpointConfig) Information about the output locations for job checkpoint data.
This is a convenience method that creates an instance of theJobCheckpointConfig.Builder
avoiding the need to create one manually viaJobCheckpointConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocheckpointConfig(JobCheckpointConfig)
.- Parameters:
checkpointConfig
- a consumer that will call methods onJobCheckpointConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
deviceConfig
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
This is a convenience method that creates an instance of theDeviceConfig.Builder
avoiding the need to create one manually viaDeviceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceConfig(DeviceConfig)
.- Parameters:
deviceConfig
- a consumer that will call methods onDeviceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
A list of parameters that specify the name and type of input data and where it is located.
This is a convenience method that creates an instance of theInputFileConfig.Builder
avoiding the need to create one manually viaInputFileConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDataConfig(List<InputFileConfig>)
.- Parameters:
inputDataConfig
- a consumer that will call methods onInputFileConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
instanceConfig
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
This is a convenience method that creates an instance of theInstanceConfig.Builder
avoiding the need to create one manually viaInstanceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceConfig(InstanceConfig)
.- Parameters:
instanceConfig
- a consumer that will call methods onInstanceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
outputDataConfig
default CreateJobRequest.Builder outputDataConfig(Consumer<JobOutputDataConfig.Builder> outputDataConfig) The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
This is a convenience method that creates an instance of theJobOutputDataConfig.Builder
avoiding the need to create one manually viaJobOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(JobOutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onJobOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
stoppingCondition
default CreateJobRequest.Builder stoppingCondition(Consumer<JobStoppingCondition.Builder> stoppingCondition) The user-defined criteria that specifies when a job stops running.
This is a convenience method that creates an instance of theJobStoppingCondition.Builder
avoiding the need to create one manually viaJobStoppingCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostoppingCondition(JobStoppingCondition)
.- Parameters:
stoppingCondition
- a consumer that will call methods onJobStoppingCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
CreateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-