Interface GetJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BraketResponse.Builder,Buildable,CopyableBuilder<GetJobResponse.Builder,GetJobResponse>,SdkBuilder<GetJobResponse.Builder,GetJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetJobResponse
public static interface GetJobResponse.Builder extends BraketResponse.Builder, SdkPojo, CopyableBuilder<GetJobResponse.Builder,GetJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetJobResponse.BuilderalgorithmSpecification(Consumer<AlgorithmSpecification.Builder> algorithmSpecification)Definition of the Amazon Braket job created.GetJobResponse.BuilderalgorithmSpecification(AlgorithmSpecification algorithmSpecification)Definition of the Amazon Braket job created.GetJobResponse.Builderassociations(Collection<Association> associations)The list of Amazon Braket resources associated with the hybrid job.GetJobResponse.Builderassociations(Consumer<Association.Builder>... associations)The list of Amazon Braket resources associated with the hybrid job.GetJobResponse.Builderassociations(Association... associations)The list of Amazon Braket resources associated with the hybrid job.GetJobResponse.BuilderbillableDuration(Integer billableDuration)The billable time the Amazon Braket job used to complete.default GetJobResponse.BuildercheckpointConfig(Consumer<JobCheckpointConfig.Builder> checkpointConfig)Information about the output locations for job checkpoint data.GetJobResponse.BuildercheckpointConfig(JobCheckpointConfig checkpointConfig)Information about the output locations for job checkpoint data.GetJobResponse.BuildercreatedAt(Instant createdAt)The date and time that the Amazon Braket job was created.default GetJobResponse.BuilderdeviceConfig(Consumer<DeviceConfig.Builder> deviceConfig)The quantum processing unit (QPU) or simulator used to run the Amazon Braket job.GetJobResponse.BuilderdeviceConfig(DeviceConfig deviceConfig)The quantum processing unit (QPU) or simulator used to run the Amazon Braket job.GetJobResponse.BuilderendedAt(Instant endedAt)The date and time that the Amazon Braket job ended.GetJobResponse.Builderevents(Collection<JobEventDetails> events)Details about the type and time events occurred related to the Amazon Braket job.GetJobResponse.Builderevents(Consumer<JobEventDetails.Builder>... events)Details about the type and time events occurred related to the Amazon Braket job.GetJobResponse.Builderevents(JobEventDetails... events)Details about the type and time events occurred related to the Amazon Braket job.GetJobResponse.BuilderfailureReason(String failureReason)A description of the reason why an Amazon Braket job failed, if it failed.GetJobResponse.BuilderhyperParameters(Map<String,String> hyperParameters)Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the traiing job.GetJobResponse.BuilderinputDataConfig(Collection<InputFileConfig> inputDataConfig)A list of parameters that specify the name and type of input data and where it is located.GetJobResponse.BuilderinputDataConfig(Consumer<InputFileConfig.Builder>... inputDataConfig)A list of parameters that specify the name and type of input data and where it is located.GetJobResponse.BuilderinputDataConfig(InputFileConfig... inputDataConfig)A list of parameters that specify the name and type of input data and where it is located.default GetJobResponse.BuilderinstanceConfig(Consumer<InstanceConfig.Builder> instanceConfig)The resource instances to use while running the hybrid job on Amazon Braket.GetJobResponse.BuilderinstanceConfig(InstanceConfig instanceConfig)The resource instances to use while running the hybrid job on Amazon Braket.GetJobResponse.BuilderjobArn(String jobArn)The ARN of the Amazon Braket job.GetJobResponse.BuilderjobName(String jobName)The name of the Amazon Braket job.default GetJobResponse.BuilderoutputDataConfig(Consumer<JobOutputDataConfig.Builder> outputDataConfig)The path to the S3 location where job artifacts are stored and the encryption key used to store them there.GetJobResponse.BuilderoutputDataConfig(JobOutputDataConfig outputDataConfig)The path to the S3 location where job artifacts are stored and the encryption key used to store them there.default GetJobResponse.BuilderqueueInfo(Consumer<HybridJobQueueInfo.Builder> queueInfo)Queue information for the requested job.GetJobResponse.BuilderqueueInfo(HybridJobQueueInfo queueInfo)Queue information for the requested job.GetJobResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user.GetJobResponse.BuilderstartedAt(Instant startedAt)The date and time that the Amazon Braket job was started.GetJobResponse.Builderstatus(String status)The status of the Amazon Braket job.GetJobResponse.Builderstatus(JobPrimaryStatus status)The status of the Amazon Braket job.default GetJobResponse.BuilderstoppingCondition(Consumer<JobStoppingCondition.Builder> stoppingCondition)The user-defined criteria that specifies when to stop a job running.GetJobResponse.BuilderstoppingCondition(JobStoppingCondition stoppingCondition)The user-defined criteria that specifies when to stop a job running.GetJobResponse.Buildertags(Map<String,String> tags)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.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
algorithmSpecification
GetJobResponse.Builder algorithmSpecification(AlgorithmSpecification algorithmSpecification)
Definition of the Amazon Braket job created. Specifies the container image the job uses, information about the Python scripts used for entry and training, and the user-defined metrics used to evaluation the job.
- Parameters:
algorithmSpecification- Definition of the Amazon Braket job created. Specifies the container image the job uses, information about the Python scripts used for entry and training, and the user-defined metrics used to evaluation the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmSpecification
default GetJobResponse.Builder algorithmSpecification(Consumer<AlgorithmSpecification.Builder> algorithmSpecification)
Definition of the Amazon Braket job created. Specifies the container image the job uses, information about the Python scripts used for entry and training, and the user-defined metrics used to evaluation the job.
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 onAlgorithmSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
algorithmSpecification(AlgorithmSpecification)
-
associations
GetJobResponse.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
GetJobResponse.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.
-
associations
GetJobResponse.Builder associations(Consumer<Association.Builder>... associations)
The 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 to#associations(List.) - 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:
#associations(java.util.Collection)
-
billableDuration
GetJobResponse.Builder billableDuration(Integer billableDuration)
The billable time the Amazon Braket job used to complete.
- Parameters:
billableDuration- The billable time the Amazon Braket job used to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkpointConfig
GetJobResponse.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.
-
checkpointConfig
default GetJobResponse.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 onJobCheckpointConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
checkpointConfig(JobCheckpointConfig)
-
createdAt
GetJobResponse.Builder createdAt(Instant createdAt)
The date and time that the Amazon Braket job was created.
- Parameters:
createdAt- The date and time that the Amazon Braket job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceConfig
GetJobResponse.Builder deviceConfig(DeviceConfig deviceConfig)
The quantum processing unit (QPU) or simulator used to run the Amazon Braket job.
- Parameters:
deviceConfig- The quantum processing unit (QPU) or simulator used to run the Amazon Braket job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceConfig
default GetJobResponse.Builder deviceConfig(Consumer<DeviceConfig.Builder> deviceConfig)
The quantum processing unit (QPU) or simulator used to run the 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 onDeviceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deviceConfig(DeviceConfig)
-
endedAt
GetJobResponse.Builder endedAt(Instant endedAt)
The date and time that the Amazon Braket job ended.
- Parameters:
endedAt- The date and time that the Amazon Braket job ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetJobResponse.Builder events(Collection<JobEventDetails> events)
Details about the type and time events occurred related to the Amazon Braket job.
- Parameters:
events- Details about the type and time events occurred related to the Amazon Braket job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetJobResponse.Builder events(JobEventDetails... events)
Details about the type and time events occurred related to the Amazon Braket job.
- Parameters:
events- Details about the type and time events occurred related to the Amazon Braket job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetJobResponse.Builder events(Consumer<JobEventDetails.Builder>... events)
Details about the type and time events occurred related to the Amazon Braket job.
This is a convenience method that creates an instance of theJobEventDetails.Builderavoiding the need to create one manually viaJobEventDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - Parameters:
events- a consumer that will call methods onJobEventDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#events(java.util.Collection)
-
failureReason
GetJobResponse.Builder failureReason(String failureReason)
A description of the reason why an Amazon Braket job failed, if it failed.
- Parameters:
failureReason- A description of the reason why an Amazon Braket job failed, if it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperParameters
GetJobResponse.Builder hyperParameters(Map<String,String> hyperParameters)
Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the traiing 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 traiing 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
GetJobResponse.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
GetJobResponse.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.
-
inputDataConfig
GetJobResponse.Builder inputDataConfig(Consumer<InputFileConfig.Builder>... 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.Builderavoiding the need to create one manually viaInputFileConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputDataConfig(List.) - 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:
#inputDataConfig(java.util.Collection)
-
instanceConfig
GetJobResponse.Builder instanceConfig(InstanceConfig instanceConfig)
The resource instances to use while running the hybrid job on Amazon Braket.
- Parameters:
instanceConfig- 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
default GetJobResponse.Builder instanceConfig(Consumer<InstanceConfig.Builder> instanceConfig)
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 onInstanceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceConfig(InstanceConfig)
-
jobArn
GetJobResponse.Builder jobArn(String jobArn)
The ARN of the Amazon Braket job.
- Parameters:
jobArn- The ARN of the Amazon Braket job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
GetJobResponse.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
GetJobResponse.Builder outputDataConfig(JobOutputDataConfig outputDataConfig)
The path to the S3 location where job artifacts are stored and the encryption key used to store them there.
- Parameters:
outputDataConfig- The path to the S3 location where job artifacts are stored and the encryption key used to store them there.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default GetJobResponse.Builder outputDataConfig(Consumer<JobOutputDataConfig.Builder> outputDataConfig)
The path to the S3 location where job artifacts are stored and the encryption key used to store them there.
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 onJobOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(JobOutputDataConfig)
-
queueInfo
GetJobResponse.Builder queueInfo(HybridJobQueueInfo queueInfo)
Queue information for the requested job. Only returned if
QueueInfois specified in theadditionalAttributeNames"field in theGetJobAPI request.- Parameters:
queueInfo- Queue information for the requested job. Only returned ifQueueInfois specified in theadditionalAttributeNames"field in theGetJobAPI request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
default GetJobResponse.Builder queueInfo(Consumer<HybridJobQueueInfo.Builder> queueInfo)
Queue information for the requested job. Only returned if
This is a convenience method that creates an instance of theQueueInfois specified in theadditionalAttributeNames"field in theGetJobAPI request.HybridJobQueueInfo.Builderavoiding the need to create one manually viaHybridJobQueueInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueueInfo(HybridJobQueueInfo).- Parameters:
queueInfo- a consumer that will call methods onHybridJobQueueInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queueInfo(HybridJobQueueInfo)
-
roleArn
GetJobResponse.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 s3 buckets of a user.
- 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 s3 buckets of a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
GetJobResponse.Builder startedAt(Instant startedAt)
The date and time that the Amazon Braket job was started.
- Parameters:
startedAt- The date and time that the Amazon Braket job was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetJobResponse.Builder status(String status)
The status of the Amazon Braket job.
- Parameters:
status- The status of the Amazon Braket job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobPrimaryStatus,JobPrimaryStatus
-
status
GetJobResponse.Builder status(JobPrimaryStatus status)
The status of the Amazon Braket job.
- Parameters:
status- The status of the Amazon Braket job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobPrimaryStatus,JobPrimaryStatus
-
stoppingCondition
GetJobResponse.Builder stoppingCondition(JobStoppingCondition stoppingCondition)
The user-defined criteria that specifies when to stop a job running.
- Parameters:
stoppingCondition- The user-defined criteria that specifies when to stop a job running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default GetJobResponse.Builder stoppingCondition(Consumer<JobStoppingCondition.Builder> stoppingCondition)
The user-defined criteria that specifies when to stop a job 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 onJobStoppingCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stoppingCondition(JobStoppingCondition)
-
tags
GetJobResponse.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.
-
-