@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkflowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkflowRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkflowRequest |
addParameterTemplateEntry(String key,
WorkflowParameter value)
Add a single ParameterTemplate entry
|
CreateWorkflowRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateWorkflowRequest |
clearParameterTemplateEntries()
Removes all the entries added into ParameterTemplate.
|
CreateWorkflowRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateWorkflowRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccelerators()
The computational accelerator specified to run the workflow.
|
String |
getDefinitionUri()
The URI of a definition for the workflow.
|
ByteBuffer |
getDefinitionZip()
A ZIP archive for the workflow.
|
String |
getDescription()
A description for the workflow.
|
String |
getEngine()
An engine for the workflow.
|
String |
getMain()
The path of the main definition file for the workflow.
|
String |
getName()
A name for the workflow.
|
Map<String,WorkflowParameter> |
getParameterTemplate()
A parameter template for the workflow.
|
String |
getRequestId()
To ensure that requests don't run multiple times, specify a unique ID for each request.
|
Integer |
getStorageCapacity()
The storage capacity for the workflow in gibibytes.
|
Map<String,String> |
getTags()
Tags for the workflow.
|
int |
hashCode() |
void |
setAccelerators(String accelerators)
The computational accelerator specified to run the workflow.
|
void |
setDefinitionUri(String definitionUri)
The URI of a definition for the workflow.
|
void |
setDefinitionZip(ByteBuffer definitionZip)
A ZIP archive for the workflow.
|
void |
setDescription(String description)
A description for the workflow.
|
void |
setEngine(String engine)
An engine for the workflow.
|
void |
setMain(String main)
The path of the main definition file for the workflow.
|
void |
setName(String name)
A name for the workflow.
|
void |
setParameterTemplate(Map<String,WorkflowParameter> parameterTemplate)
A parameter template for the workflow.
|
void |
setRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
|
void |
setStorageCapacity(Integer storageCapacity)
The storage capacity for the workflow in gibibytes.
|
void |
setTags(Map<String,String> tags)
Tags for the workflow.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkflowRequest |
withAccelerators(Accelerators accelerators)
The computational accelerator specified to run the workflow.
|
CreateWorkflowRequest |
withAccelerators(String accelerators)
The computational accelerator specified to run the workflow.
|
CreateWorkflowRequest |
withDefinitionUri(String definitionUri)
The URI of a definition for the workflow.
|
CreateWorkflowRequest |
withDefinitionZip(ByteBuffer definitionZip)
A ZIP archive for the workflow.
|
CreateWorkflowRequest |
withDescription(String description)
A description for the workflow.
|
CreateWorkflowRequest |
withEngine(String engine)
An engine for the workflow.
|
CreateWorkflowRequest |
withEngine(WorkflowEngine engine)
An engine for the workflow.
|
CreateWorkflowRequest |
withMain(String main)
The path of the main definition file for the workflow.
|
CreateWorkflowRequest |
withName(String name)
A name for the workflow.
|
CreateWorkflowRequest |
withParameterTemplate(Map<String,WorkflowParameter> parameterTemplate)
A parameter template for the workflow.
|
CreateWorkflowRequest |
withRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
|
CreateWorkflowRequest |
withStorageCapacity(Integer storageCapacity)
The storage capacity for the workflow in gibibytes.
|
CreateWorkflowRequest |
withTags(Map<String,String> tags)
Tags for the workflow.
|
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 setName(String name)
A name for the workflow.
name
- A name for the workflow.public String getName()
A name for the workflow.
public CreateWorkflowRequest withName(String name)
A name for the workflow.
name
- A name for the workflow.public void setDescription(String description)
A description for the workflow.
description
- A description for the workflow.public String getDescription()
A description for the workflow.
public CreateWorkflowRequest withDescription(String description)
A description for the workflow.
description
- A description for the workflow.public void setEngine(String engine)
An engine for the workflow.
engine
- An engine for the workflow.WorkflowEngine
public String getEngine()
An engine for the workflow.
WorkflowEngine
public CreateWorkflowRequest withEngine(String engine)
An engine for the workflow.
engine
- An engine for the workflow.WorkflowEngine
public CreateWorkflowRequest withEngine(WorkflowEngine engine)
An engine for the workflow.
engine
- An engine for the workflow.WorkflowEngine
public void setDefinitionZip(ByteBuffer definitionZip)
A ZIP archive for the workflow.
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.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
definitionZip
- A ZIP archive for the workflow.public ByteBuffer getDefinitionZip()
A ZIP archive for the workflow.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public CreateWorkflowRequest withDefinitionZip(ByteBuffer definitionZip)
A ZIP archive for the workflow.
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.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
definitionZip
- A ZIP archive for the workflow.public void setDefinitionUri(String definitionUri)
The URI of a definition for the workflow.
definitionUri
- The URI of a definition for the workflow.public String getDefinitionUri()
The URI of a definition for the workflow.
public CreateWorkflowRequest withDefinitionUri(String definitionUri)
The URI of a definition for the workflow.
definitionUri
- The URI of a definition for the workflow.public void setMain(String main)
The path of the main definition file for the workflow.
main
- The path of the main definition file for the workflow.public String getMain()
The path of the main definition file for the workflow.
public CreateWorkflowRequest withMain(String main)
The path of the main definition file for the workflow.
main
- The path of the main definition file for the workflow.public Map<String,WorkflowParameter> getParameterTemplate()
A parameter template for the workflow.
public void setParameterTemplate(Map<String,WorkflowParameter> parameterTemplate)
A parameter template for the workflow.
parameterTemplate
- A parameter template for the workflow.public CreateWorkflowRequest withParameterTemplate(Map<String,WorkflowParameter> parameterTemplate)
A parameter template for the workflow.
parameterTemplate
- A parameter template for the workflow.public CreateWorkflowRequest addParameterTemplateEntry(String key, WorkflowParameter value)
public CreateWorkflowRequest clearParameterTemplateEntries()
public void setStorageCapacity(Integer storageCapacity)
The storage capacity for the workflow in gibibytes.
storageCapacity
- The storage capacity for the workflow in gibibytes.public Integer getStorageCapacity()
The storage capacity for the workflow in gibibytes.
public CreateWorkflowRequest withStorageCapacity(Integer storageCapacity)
The storage capacity for the workflow in gibibytes.
storageCapacity
- The storage capacity for the workflow in gibibytes.public void setTags(Map<String,String> tags)
Tags for the workflow.
tags
- Tags for the workflow.public CreateWorkflowRequest withTags(Map<String,String> tags)
Tags for the workflow.
tags
- Tags for the workflow.public CreateWorkflowRequest addTagsEntry(String key, String value)
public CreateWorkflowRequest clearTagsEntries()
public void setRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
requestId
- To ensure that requests don't run multiple times, specify a unique ID for each request.public String getRequestId()
To ensure that requests don't run multiple times, specify a unique ID for each request.
public CreateWorkflowRequest withRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
requestId
- To ensure that requests don't run multiple times, specify a unique ID for each request.public void setAccelerators(String accelerators)
The computational accelerator specified to run the workflow.
accelerators
- The computational accelerator specified to run the workflow.Accelerators
public String getAccelerators()
The computational accelerator specified to run the workflow.
Accelerators
public CreateWorkflowRequest withAccelerators(String accelerators)
The computational accelerator specified to run the workflow.
accelerators
- The computational accelerator specified to run the workflow.Accelerators
public CreateWorkflowRequest withAccelerators(Accelerators accelerators)
The computational accelerator specified to run the workflow.
accelerators
- The computational accelerator specified to run the workflow.Accelerators
public String toString()
toString
in class Object
Object.toString()
public CreateWorkflowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()