Interface GetJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BraketResponse.Builder
,Buildable
,CopyableBuilder<GetJobResponse.Builder,
,GetJobResponse> SdkBuilder<GetJobResponse.Builder,
,GetJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetJobResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetJobResponse.Builder
algorithmSpecification
(Consumer<AlgorithmSpecification.Builder> algorithmSpecification) Definition of the Amazon Braket hybrid job created.algorithmSpecification
(AlgorithmSpecification algorithmSpecification) Definition of the Amazon Braket hybrid job 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.billableDuration
(Integer billableDuration) The billable time for which the Amazon Braket hybrid job used to complete.default GetJobResponse.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.The time at which the Amazon Braket hybrid job was created.default GetJobResponse.Builder
deviceConfig
(Consumer<DeviceConfig.Builder> deviceConfig) The primary device used by the Amazon Braket hybrid job.deviceConfig
(DeviceConfig deviceConfig) The primary device used by the Amazon Braket hybrid job.The time at which the Amazon Braket hybrid job ended.events
(Collection<JobEventDetails> events) Details about the time and type of events occurred related to the Amazon Braket hybrid job.events
(Consumer<JobEventDetails.Builder>... events) Details about the time and type of events occurred related to the Amazon Braket hybrid job.events
(JobEventDetails... events) Details about the time and type of events occurred related to the Amazon Braket hybrid job.failureReason
(String failureReason) A description of the reason why an Amazon Braket hybrid job failed, if it failed.hyperParameters
(Map<String, String> hyperParameters) Algorithm-specific parameters used by an Amazon Braket hybrid job that influence the quality of the traiing 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 GetJobResponse.Builder
instanceConfig
(Consumer<InstanceConfig.Builder> instanceConfig) The resource instances to use while running the hybrid job on Amazon Braket.instanceConfig
(InstanceConfig instanceConfig) The resource instances to use while running the hybrid job on Amazon Braket.The ARN of the Amazon Braket hybrid job.The name of the Amazon Braket hybrid job.default GetJobResponse.Builder
outputDataConfig
(Consumer<JobOutputDataConfig.Builder> outputDataConfig) The path to the S3 location where hybrid job artifacts are stored and the encryption key used to store them there.outputDataConfig
(JobOutputDataConfig outputDataConfig) The path to the S3 location where hybrid job artifacts are stored and the encryption key used to store them there.default GetJobResponse.Builder
queueInfo
(Consumer<HybridJobQueueInfo.Builder> queueInfo) Queue information for the requested hybrid job.queueInfo
(HybridJobQueueInfo queueInfo) Queue information for the requested hybrid job.The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user.The time at which the Amazon Braket hybrid job was started.The status of the Amazon Braket hybrid job.status
(JobPrimaryStatus status) The status of the Amazon Braket hybrid job.default GetJobResponse.Builder
stoppingCondition
(Consumer<JobStoppingCondition.Builder> stoppingCondition) The user-defined criteria that specifies when to stop a running hybrid job.stoppingCondition
(JobStoppingCondition stoppingCondition) The user-defined criteria that specifies when to stop a running hybrid job.The tags associated with this hybrid job.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The status of the Amazon Braket hybrid job.
- Parameters:
status
- The status of the Amazon Braket hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the Amazon Braket hybrid job.
- Parameters:
status
- The status of the Amazon Braket hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobArn
The ARN of the Amazon Braket hybrid job.
- Parameters:
jobArn
- The ARN 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 other hybrid job details 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 results and other hybrid job details to the s3 buckets of a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
A description of the reason why an Amazon Braket hybrid job failed, if it failed.
- Parameters:
failureReason
- A description of the reason why an Amazon Braket hybrid job failed, if it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
hyperParameters
Algorithm-specific parameters used by an Amazon Braket hybrid job that influence the quality of the traiing 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 th hyperparameter.
- Parameters:
hyperParameters
- Algorithm-specific parameters used by an Amazon Braket hybrid job that influence the quality of the traiing 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 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:
-
outputDataConfig
The path to the S3 location where hybrid job artifacts are stored and the encryption key used to store them there.
- Parameters:
outputDataConfig
- The path to the S3 location where hybrid 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 hybrid job artifacts are stored and the encryption key used to store them there.
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:
-
stoppingCondition
The user-defined criteria that specifies when to stop a running hybrid job.
- Parameters:
stoppingCondition
- The user-defined criteria that specifies when to stop a running hybrid job.- 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 running hybrid job.
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:
-
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 GetJobResponse.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:
-
algorithmSpecification
Definition of the Amazon Braket hybrid job created. Provides information about the container image used, and the Python scripts used for training.
- Parameters:
algorithmSpecification
- Definition of the Amazon Braket hybrid job created. Provides information about the container image used, and the Python scripts used for training.- 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 hybrid job created. Provides information about the container image used, and the Python scripts used for 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:
-
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
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:
-
createdAt
The time at which the Amazon Braket hybrid job was created.
- Parameters:
createdAt
- The time at which the Amazon Braket hybrid job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time at which the Amazon Braket hybrid job was started.
- Parameters:
startedAt
- The time at which the Amazon Braket hybrid job was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time at which the Amazon Braket hybrid job ended.
- Parameters:
endedAt
- The time at which the Amazon Braket hybrid job ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billableDuration
The billable time for which the Amazon Braket hybrid job used to complete.
- Parameters:
billableDuration
- The billable time for which the Amazon Braket hybrid job used to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceConfig
The primary device used by the Amazon Braket hybrid job.
- Parameters:
deviceConfig
- The primary device used by the Amazon Braket hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceConfig
The primary device used by the 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:
-
events
Details about the time and type of events occurred related to the Amazon Braket hybrid job.
- Parameters:
events
- Details about the time and type of events occurred related to the Amazon Braket hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Details about the time and type of events occurred related to the Amazon Braket hybrid job.
- Parameters:
events
- Details about the time and type of events occurred related to the Amazon Braket hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Details about the time and type of events occurred related to the Amazon Braket hybrid job.
This is a convenience method that creates an instance of theJobEventDetails.Builder
avoiding the need to create one manually viaJobEventDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<JobEventDetails>)
.- 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:
-
tags
The tags associated with this hybrid job.
- Parameters:
tags
- The tags associated with this hybrid job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
Queue information for the requested hybrid job. Only returned if
QueueInfo
is specified in theadditionalAttributeNames"
field in theGetJob
API request.- Parameters:
queueInfo
- Queue information for the requested hybrid job. Only returned ifQueueInfo
is specified in theadditionalAttributeNames"
field in theGetJob
API request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
Queue information for the requested hybrid job. Only returned if
This is a convenience method that creates an instance of theQueueInfo
is specified in theadditionalAttributeNames"
field in theGetJob
API request.HybridJobQueueInfo.Builder
avoiding the need to create one manually viaHybridJobQueueInfo.builder()
.When the
Consumer
completes,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:
-
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:
-