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 SummaryModifier and TypeMethodDescriptiondefault CreateJobRequest.BuilderalgorithmSpecification(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.BuildercheckpointConfig(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.BuilderdeviceConfig(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.BuilderinstanceConfig(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.BuilderoutputDataConfig(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.BuilderstoppingCondition(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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.braket.model.BraketRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
algorithmSpecificationDefinition 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.
 
- 
algorithmSpecificationdefault 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.Builderavoiding the need to create one manually viaAlgorithmSpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalgorithmSpecification(AlgorithmSpecification).- Parameters:
- algorithmSpecification- a consumer that will call methods on- AlgorithmSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
associationsThe 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.
 
- 
associationsThe 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.
 
- 
associationsThe list of Amazon Braket resources associated with the hybrid job. This is a convenience method that creates an instance of theAssociation.Builderavoiding the need to create one manually viaAssociation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<Association>).- Parameters:
- associations- a consumer that will call methods on- Association.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
checkpointConfigInformation 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.
 
- 
checkpointConfigdefault 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.Builderavoiding the need to create one manually viaJobCheckpointConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocheckpointConfig(JobCheckpointConfig).- Parameters:
- checkpointConfig- a consumer that will call methods on- JobCheckpointConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
clientTokenA 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.
 
- 
deviceConfigThe 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.
 
- 
deviceConfigThe quantum processing unit (QPU) or simulator used to create an Amazon Braket job. This is a convenience method that creates an instance of theDeviceConfig.Builderavoiding the need to create one manually viaDeviceConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeviceConfig(DeviceConfig).- Parameters:
- deviceConfig- a consumer that will call methods on- DeviceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
hyperParametersAlgorithm-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.
 
- 
inputDataConfigA 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.
 
- 
inputDataConfigA 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.
 
- 
inputDataConfigA 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.Builderavoiding the need to create one manually viaInputFileConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(List<InputFileConfig>).- Parameters:
- inputDataConfig- a consumer that will call methods on- InputFileConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instanceConfigConfiguration 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.
 
- 
instanceConfigConfiguration 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.Builderavoiding the need to create one manually viaInstanceConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceConfig(InstanceConfig).- Parameters:
- instanceConfig- a consumer that will call methods on- InstanceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
jobNameThe 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.
 
- 
outputDataConfigThe 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.
 
- 
outputDataConfigdefault 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.Builderavoiding the need to create one manually viaJobOutputDataConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(JobOutputDataConfig).- Parameters:
- outputDataConfig- a consumer that will call methods on- JobOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
roleArnThe 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.
 
- 
stoppingConditionThe 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.
 
- 
stoppingConditiondefault 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.Builderavoiding the need to create one manually viaJobStoppingCondition.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostoppingCondition(JobStoppingCondition).- Parameters:
- stoppingCondition- a consumer that will call methods on- JobStoppingCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsA 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.
 
- 
overrideConfigurationCreateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-