@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateQuantumTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateQuantumTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateQuantumTaskRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateQuantumTaskRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateQuantumTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAction()
The action associated with the task.
|
List<Association> |
getAssociations()
The list of Amazon Braket resources associated with the quantum task.
|
String |
getClientToken()
The client token associated with the request.
|
String |
getDeviceArn()
The ARN of the device to run the task on.
|
String |
getDeviceParameters()
The parameters for the device to run the task on.
|
String |
getJobToken()
The token for an Amazon Braket job that associates it with the quantum task.
|
String |
getOutputS3Bucket()
The S3 bucket to store task result files in.
|
String |
getOutputS3KeyPrefix()
The key prefix for the location in the S3 bucket to store task results in.
|
Long |
getShots()
The number of shots to use for the task.
|
Map<String,String> |
getTags()
Tags to be added to the quantum task you're creating.
|
int |
hashCode() |
void |
setAction(String action)
The action associated with the task.
|
void |
setAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
|
void |
setClientToken(String clientToken)
The client token associated with the request.
|
void |
setDeviceArn(String deviceArn)
The ARN of the device to run the task on.
|
void |
setDeviceParameters(String deviceParameters)
The parameters for the device to run the task on.
|
void |
setJobToken(String jobToken)
The token for an Amazon Braket job that associates it with the quantum task.
|
void |
setOutputS3Bucket(String outputS3Bucket)
The S3 bucket to store task result files in.
|
void |
setOutputS3KeyPrefix(String outputS3KeyPrefix)
The key prefix for the location in the S3 bucket to store task results in.
|
void |
setShots(Long shots)
The number of shots to use for the task.
|
void |
setTags(Map<String,String> tags)
Tags to be added to the quantum task you're creating.
|
String |
toString()
Returns a string representation of this object.
|
CreateQuantumTaskRequest |
withAction(String action)
The action associated with the task.
|
CreateQuantumTaskRequest |
withAssociations(Association... associations)
The list of Amazon Braket resources associated with the quantum task.
|
CreateQuantumTaskRequest |
withAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
|
CreateQuantumTaskRequest |
withClientToken(String clientToken)
The client token associated with the request.
|
CreateQuantumTaskRequest |
withDeviceArn(String deviceArn)
The ARN of the device to run the task on.
|
CreateQuantumTaskRequest |
withDeviceParameters(String deviceParameters)
The parameters for the device to run the task on.
|
CreateQuantumTaskRequest |
withJobToken(String jobToken)
The token for an Amazon Braket job that associates it with the quantum task.
|
CreateQuantumTaskRequest |
withOutputS3Bucket(String outputS3Bucket)
The S3 bucket to store task result files in.
|
CreateQuantumTaskRequest |
withOutputS3KeyPrefix(String outputS3KeyPrefix)
The key prefix for the location in the S3 bucket to store task results in.
|
CreateQuantumTaskRequest |
withShots(Long shots)
The number of shots to use for the task.
|
CreateQuantumTaskRequest |
withTags(Map<String,String> tags)
Tags to be added to the quantum task you're creating.
|
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 setAction(String action)
The action associated with the task.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
action
- The action associated with the task.public String getAction()
The action associated with the task.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public CreateQuantumTaskRequest withAction(String action)
The action associated with the task.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
action
- The action associated with the task.public List<Association> getAssociations()
The list of Amazon Braket resources associated with the quantum task.
public void setAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
associations
- The list of Amazon Braket resources associated with the quantum task.public CreateQuantumTaskRequest withAssociations(Association... associations)
The list of Amazon Braket resources associated with the quantum task.
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 quantum task.public CreateQuantumTaskRequest withAssociations(Collection<Association> associations)
The list of Amazon Braket resources associated with the quantum task.
associations
- The list of Amazon Braket resources associated with the quantum task.public void setClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public String getClientToken()
The client token associated with the request.
public CreateQuantumTaskRequest withClientToken(String clientToken)
The client token associated with the request.
clientToken
- The client token associated with the request.public void setDeviceArn(String deviceArn)
The ARN of the device to run the task on.
deviceArn
- The ARN of the device to run the task on.public String getDeviceArn()
The ARN of the device to run the task on.
public CreateQuantumTaskRequest withDeviceArn(String deviceArn)
The ARN of the device to run the task on.
deviceArn
- The ARN of the device to run the task on.public void setDeviceParameters(String deviceParameters)
The parameters for the device to run the task on.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
deviceParameters
- The parameters for the device to run the task on.public String getDeviceParameters()
The parameters for the device to run the task on.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public CreateQuantumTaskRequest withDeviceParameters(String deviceParameters)
The parameters for the device to run the task on.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
deviceParameters
- The parameters for the device to run the task on.public void setJobToken(String jobToken)
The token for an Amazon Braket job that associates it with the quantum task.
jobToken
- The token for an Amazon Braket job that associates it with the quantum task.public String getJobToken()
The token for an Amazon Braket job that associates it with the quantum task.
public CreateQuantumTaskRequest withJobToken(String jobToken)
The token for an Amazon Braket job that associates it with the quantum task.
jobToken
- The token for an Amazon Braket job that associates it with the quantum task.public void setOutputS3Bucket(String outputS3Bucket)
The S3 bucket to store task result files in.
outputS3Bucket
- The S3 bucket to store task result files in.public String getOutputS3Bucket()
The S3 bucket to store task result files in.
public CreateQuantumTaskRequest withOutputS3Bucket(String outputS3Bucket)
The S3 bucket to store task result files in.
outputS3Bucket
- The S3 bucket to store task result files in.public void setOutputS3KeyPrefix(String outputS3KeyPrefix)
The key prefix for the location in the S3 bucket to store task results in.
outputS3KeyPrefix
- The key prefix for the location in the S3 bucket to store task results in.public String getOutputS3KeyPrefix()
The key prefix for the location in the S3 bucket to store task results in.
public CreateQuantumTaskRequest withOutputS3KeyPrefix(String outputS3KeyPrefix)
The key prefix for the location in the S3 bucket to store task results in.
outputS3KeyPrefix
- The key prefix for the location in the S3 bucket to store task results in.public void setShots(Long shots)
The number of shots to use for the task.
shots
- The number of shots to use for the task.public Long getShots()
The number of shots to use for the task.
public CreateQuantumTaskRequest withShots(Long shots)
The number of shots to use for the task.
shots
- The number of shots to use for the task.public Map<String,String> getTags()
Tags to be added to the quantum task you're creating.
public void setTags(Map<String,String> tags)
Tags to be added to the quantum task you're creating.
tags
- Tags to be added to the quantum task you're creating.public CreateQuantumTaskRequest withTags(Map<String,String> tags)
Tags to be added to the quantum task you're creating.
tags
- Tags to be added to the quantum task you're creating.public CreateQuantumTaskRequest addTagsEntry(String key, String value)
public CreateQuantumTaskRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateQuantumTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()