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 hybrid job checkpoint data.checkpointConfig
(JobCheckpointConfig checkpointConfig) Information about the output locations for hybrid job checkpoint data.clientToken
(String clientToken) The client token associated with this request that guarantees that the request is idempotent.default CreateJobRequest.Builder
deviceConfig
(Consumer<DeviceConfig.Builder> deviceConfig) The quantum processing unit (QPU) or simulator used to create an Amazon Braket hybrid job.deviceConfig
(DeviceConfig deviceConfig) The quantum processing unit (QPU) or simulator used to create an Amazon Braket hybrid job.hyperParameters
(Map<String, String> hyperParameters) Algorithm-specific parameters used by an Amazon Braket hybrid 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 hybrid job.default CreateJobRequest.Builder
outputDataConfig
(Consumer<JobOutputDataConfig.Builder> outputDataConfig) The path to the S3 location where you want to store hybrid job artifacts and the encryption key used to store them.outputDataConfig
(JobOutputDataConfig outputDataConfig) The path to the S3 location where you want to store hybrid 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 hybrid job stops running.stoppingCondition
(JobStoppingCondition stoppingCondition) The user-defined criteria that specifies when a hybrid job stops running.Tags to be added to the hybrid job you're creating.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, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
The client token associated with this request that guarantees that the request is idempotent.
- Parameters:
clientToken
- The client token associated with this request that guarantees that the request is idempotent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
outputDataConfig
The path to the S3 location where you want to store hybrid job artifacts and the encryption key used to store them.
- Parameters:
outputDataConfig
- The path to the S3 location where you want to store hybrid 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 hybrid 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:
-
checkpointConfig
Information about the output locations for hybrid job checkpoint data.
- Parameters:
checkpointConfig
- Information about the output locations for hybrid 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 hybrid 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:
-
jobName
The name of the Amazon Braket hybrid job.
- Parameters:
jobName
- The name of the Amazon Braket hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 results and hybrid job details 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 results and hybrid job details 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 hybrid job stops running.
- Parameters:
stoppingCondition
- The user-defined criteria that specifies when a hybrid 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 hybrid 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:
-
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:
-
hyperParameters
Algorithm-specific parameters used by an Amazon Braket hybrid job that influence the quality of the training job. The values are set with a map of JSON key:value pairs, where the key is the name of the hyperparameter and the value is the value of the hyperparameter.
Do not include any security-sensitive information including account access IDs, secrets, or tokens in any hyperparameter fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request hyperparameter variable or plain text fields.
- Parameters:
hyperParameters
- Algorithm-specific parameters used by an Amazon Braket hybrid job that influence the quality of the training job. The values are set with a map of JSON key:value pairs, where the key is the name of the hyperparameter and the value is the value of the hyperparameter.Do not include any security-sensitive information including account access IDs, secrets, or tokens in any hyperparameter fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request hyperparameter variable or plain text fields.
- 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 hybrid job.
- Parameters:
deviceConfig
- The quantum processing unit (QPU) or simulator used to create an Amazon Braket hybrid 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 hybrid 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:
-
tags
Tags to be added to the hybrid job you're creating.
- Parameters:
tags
- Tags to be added to the hybrid job you're creating.- 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.
- 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:
-
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.
-