@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobRequest |
addHyperParametersEntry(String key,
String value)
Add a single HyperParameters entry
|
CreateJobRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateJobRequest |
clearHyperParametersEntries()
Removes all the entries added into HyperParameters.
|
CreateJobRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AlgorithmSpecification |
getAlgorithmSpecification()
Definition of the Amazon Braket job to be created.
|
List<Association> |
getAssociations()
The list of Amazon Braket resources associated with the hybrid job.
|
JobCheckpointConfig |
getCheckpointConfig()
Information about the output locations for job checkpoint data.
|
String |
getClientToken()
A unique token that guarantees that the call to this API is idempotent.
|
DeviceConfig |
getDeviceConfig()
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
|
Map<String,String> |
getHyperParameters()
Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the training job.
|
List<InputFileConfig> |
getInputDataConfig()
A list of parameters that specify the name and type of input data and where it is located.
|
InstanceConfig |
getInstanceConfig()
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
|
String |
getJobName()
The name of the Amazon Braket job.
|
JobOutputDataConfig |
getOutputDataConfig()
The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user.
|
JobStoppingCondition |
getStoppingCondition()
The user-defined criteria that specifies when a job stops running.
|
Map<String,String> |
getTags()
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
|
int |
hashCode() |
void |
setAlgorithmSpecification(AlgorithmSpecification algorithmSpecification)
Definition of the Amazon Braket job to be created.
|
void |
setAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the hybrid job.
|
void |
setCheckpointConfig(JobCheckpointConfig checkpointConfig)
Information about the output locations for job checkpoint data.
|
void |
setClientToken(String clientToken)
A unique token that guarantees that the call to this API is idempotent.
|
void |
setDeviceConfig(DeviceConfig deviceConfig)
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
|
void |
setHyperParameters(Map<String,String> hyperParameters)
Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the training job.
|
void |
setInputDataConfig(Collection<InputFileConfig> inputDataConfig)
A list of parameters that specify the name and type of input data and where it is located.
|
void |
setInstanceConfig(InstanceConfig instanceConfig)
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
|
void |
setJobName(String jobName)
The name of the Amazon Braket job.
|
void |
setOutputDataConfig(JobOutputDataConfig outputDataConfig)
The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user.
|
void |
setStoppingCondition(JobStoppingCondition stoppingCondition)
The user-defined criteria that specifies when a job stops running.
|
void |
setTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
|
String |
toString()
Returns a string representation of this object.
|
CreateJobRequest |
withAlgorithmSpecification(AlgorithmSpecification algorithmSpecification)
Definition of the Amazon Braket job to be created.
|
CreateJobRequest |
withAssociations(Association... associations)
The list of Amazon Braket resources associated with the hybrid job.
|
CreateJobRequest |
withAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the hybrid job.
|
CreateJobRequest |
withCheckpointConfig(JobCheckpointConfig checkpointConfig)
Information about the output locations for job checkpoint data.
|
CreateJobRequest |
withClientToken(String clientToken)
A unique token that guarantees that the call to this API is idempotent.
|
CreateJobRequest |
withDeviceConfig(DeviceConfig deviceConfig)
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
|
CreateJobRequest |
withHyperParameters(Map<String,String> hyperParameters)
Algorithm-specific parameters used by an Amazon Braket job that influence the quality of the training job.
|
CreateJobRequest |
withInputDataConfig(Collection<InputFileConfig> inputDataConfig)
A list of parameters that specify the name and type of input data and where it is located.
|
CreateJobRequest |
withInputDataConfig(InputFileConfig... inputDataConfig)
A list of parameters that specify the name and type of input data and where it is located.
|
CreateJobRequest |
withInstanceConfig(InstanceConfig instanceConfig)
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
|
CreateJobRequest |
withJobName(String jobName)
The name of the Amazon Braket job.
|
CreateJobRequest |
withOutputDataConfig(JobOutputDataConfig outputDataConfig)
The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
|
CreateJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user.
|
CreateJobRequest |
withStoppingCondition(JobStoppingCondition stoppingCondition)
The user-defined criteria that specifies when a job stops running.
|
CreateJobRequest |
withTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAlgorithmSpecification(AlgorithmSpecification 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.
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.public AlgorithmSpecification getAlgorithmSpecification()
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.
public CreateJobRequest withAlgorithmSpecification(AlgorithmSpecification 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.
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.public List<Association> getAssociations()
The list of Amazon Braket resources associated with the hybrid job.
public void setAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the hybrid job.
associations
- The list of Amazon Braket resources associated with the hybrid job.public CreateJobRequest withAssociations(Association... associations)
The list of Amazon Braket resources associated with the hybrid job.
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
or withAssociations(java.util.Collection)
if you want to
override the existing values.
associations
- The list of Amazon Braket resources associated with the hybrid job.public CreateJobRequest withAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the hybrid job.
associations
- The list of Amazon Braket resources associated with the hybrid job.public void setCheckpointConfig(JobCheckpointConfig checkpointConfig)
Information about the output locations for job checkpoint data.
checkpointConfig
- Information about the output locations for job checkpoint data.public JobCheckpointConfig getCheckpointConfig()
Information about the output locations for job checkpoint data.
public CreateJobRequest withCheckpointConfig(JobCheckpointConfig checkpointConfig)
Information about the output locations for job checkpoint data.
checkpointConfig
- Information about the output locations for job checkpoint data.public void setClientToken(String clientToken)
A unique token that guarantees that the call to this API is idempotent.
clientToken
- A unique token that guarantees that the call to this API is idempotent.public String getClientToken()
A unique token that guarantees that the call to this API is idempotent.
public CreateJobRequest withClientToken(String clientToken)
A unique token that guarantees that the call to this API is idempotent.
clientToken
- A unique token that guarantees that the call to this API is idempotent.public void setDeviceConfig(DeviceConfig deviceConfig)
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
deviceConfig
- The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.public DeviceConfig getDeviceConfig()
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
public CreateJobRequest withDeviceConfig(DeviceConfig deviceConfig)
The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.
deviceConfig
- The quantum processing unit (QPU) or simulator used to create an Amazon Braket job.public Map<String,String> getHyperParameters()
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.
public void setHyperParameters(Map<String,String> 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.
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.public CreateJobRequest withHyperParameters(Map<String,String> 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.
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.public CreateJobRequest addHyperParametersEntry(String key, String value)
public CreateJobRequest clearHyperParametersEntries()
public List<InputFileConfig> getInputDataConfig()
A list of parameters that specify the name and type of input data and where it is located.
public void setInputDataConfig(Collection<InputFileConfig> inputDataConfig)
A list of parameters that specify the name and type of input data and where it is located.
inputDataConfig
- A list of parameters that specify the name and type of input data and where it is located.public CreateJobRequest withInputDataConfig(InputFileConfig... inputDataConfig)
A list of parameters that specify the name and type of input data and where it is located.
NOTE: This method appends the values to the existing list (if any). Use
setInputDataConfig(java.util.Collection)
or withInputDataConfig(java.util.Collection)
if you
want to override the existing values.
inputDataConfig
- A list of parameters that specify the name and type of input data and where it is located.public CreateJobRequest withInputDataConfig(Collection<InputFileConfig> inputDataConfig)
A list of parameters that specify the name and type of input data and where it is located.
inputDataConfig
- A list of parameters that specify the name and type of input data and where it is located.public void setInstanceConfig(InstanceConfig instanceConfig)
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
instanceConfig
- Configuration of the resource instances to use while running the hybrid job on Amazon Braket.public InstanceConfig getInstanceConfig()
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
public CreateJobRequest withInstanceConfig(InstanceConfig instanceConfig)
Configuration of the resource instances to use while running the hybrid job on Amazon Braket.
instanceConfig
- Configuration of the resource instances to use while running the hybrid job on Amazon Braket.public void setJobName(String jobName)
The name of the Amazon Braket job.
jobName
- The name of the Amazon Braket job.public String getJobName()
The name of the Amazon Braket job.
public CreateJobRequest withJobName(String jobName)
The name of the Amazon Braket job.
jobName
- The name of the Amazon Braket job.public void setOutputDataConfig(JobOutputDataConfig outputDataConfig)
The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
outputDataConfig
- The path to the S3 location where you want to store job artifacts and the encryption key used to store
them.public JobOutputDataConfig getOutputDataConfig()
The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
public CreateJobRequest withOutputDataConfig(JobOutputDataConfig outputDataConfig)
The path to the S3 location where you want to store job artifacts and the encryption key used to store them.
outputDataConfig
- The path to the S3 location where you want to store job artifacts and the encryption key used to store
them.public void setRoleArn(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 users' s3 buckets.
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.public String getRoleArn()
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.
public CreateJobRequest withRoleArn(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 users' s3 buckets.
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.public void setStoppingCondition(JobStoppingCondition stoppingCondition)
The user-defined criteria that specifies when a job stops running.
stoppingCondition
- The user-defined criteria that specifies when a job stops running.public JobStoppingCondition getStoppingCondition()
The user-defined criteria that specifies when a job stops running.
public CreateJobRequest withStoppingCondition(JobStoppingCondition stoppingCondition)
The user-defined criteria that specifies when a job stops running.
stoppingCondition
- The user-defined criteria that specifies when a job stops running.public Map<String,String> getTags()
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
public void setTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
tags
- A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket
resources.public CreateJobRequest withTags(Map<String,String> tags)
A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources.
tags
- A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket
resources.public CreateJobRequest addTagsEntry(String key, String value)
public CreateJobRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()