@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateQueueEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateQueueEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateQueueEnvironmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The unique token which the server uses to recognize retries of the same request.
|
String |
getFarmId()
The farm ID of the farm to connect to the environment.
|
Integer |
getPriority()
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority.
|
String |
getQueueId()
The queue ID to connect the queue and environment.
|
String |
getTemplate()
The environment template to use in the queue.
|
String |
getTemplateType()
The template's file type,
JSON or YAML . |
int |
hashCode() |
void |
setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
void |
setFarmId(String farmId)
The farm ID of the farm to connect to the environment.
|
void |
setPriority(Integer priority)
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority.
|
void |
setQueueId(String queueId)
The queue ID to connect the queue and environment.
|
void |
setTemplate(String template)
The environment template to use in the queue.
|
void |
setTemplateType(String templateType)
The template's file type,
JSON or YAML . |
String |
toString()
Returns a string representation of this object.
|
CreateQueueEnvironmentRequest |
withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
CreateQueueEnvironmentRequest |
withFarmId(String farmId)
The farm ID of the farm to connect to the environment.
|
CreateQueueEnvironmentRequest |
withPriority(Integer priority)
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority.
|
CreateQueueEnvironmentRequest |
withQueueId(String queueId)
The queue ID to connect the queue and environment.
|
CreateQueueEnvironmentRequest |
withTemplate(String template)
The environment template to use in the queue.
|
CreateQueueEnvironmentRequest |
withTemplateType(EnvironmentTemplateType templateType)
The template's file type,
JSON or YAML . |
CreateQueueEnvironmentRequest |
withTemplateType(String templateType)
The template's file type,
JSON or YAML . |
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 setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public String getClientToken()
The unique token which the server uses to recognize retries of the same request.
public CreateQueueEnvironmentRequest withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public void setFarmId(String farmId)
The farm ID of the farm to connect to the environment.
farmId
- The farm ID of the farm to connect to the environment.public String getFarmId()
The farm ID of the farm to connect to the environment.
public CreateQueueEnvironmentRequest withFarmId(String farmId)
The farm ID of the farm to connect to the environment.
farmId
- The farm ID of the farm to connect to the environment.public void setPriority(Integer priority)
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
priority
- Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If
two environments share the same priority value, the environment created first takes higher priority.public Integer getPriority()
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
public CreateQueueEnvironmentRequest withPriority(Integer priority)
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
priority
- Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If
two environments share the same priority value, the environment created first takes higher priority.public void setQueueId(String queueId)
The queue ID to connect the queue and environment.
queueId
- The queue ID to connect the queue and environment.public String getQueueId()
The queue ID to connect the queue and environment.
public CreateQueueEnvironmentRequest withQueueId(String queueId)
The queue ID to connect the queue and environment.
queueId
- The queue ID to connect the queue and environment.public void setTemplate(String template)
The environment template to use in the queue.
template
- The environment template to use in the queue.public String getTemplate()
The environment template to use in the queue.
public CreateQueueEnvironmentRequest withTemplate(String template)
The environment template to use in the queue.
template
- The environment template to use in the queue.public void setTemplateType(String templateType)
The template's file type, JSON
or YAML
.
templateType
- The template's file type, JSON
or YAML
.EnvironmentTemplateType
public String getTemplateType()
The template's file type, JSON
or YAML
.
JSON
or YAML
.EnvironmentTemplateType
public CreateQueueEnvironmentRequest withTemplateType(String templateType)
The template's file type, JSON
or YAML
.
templateType
- The template's file type, JSON
or YAML
.EnvironmentTemplateType
public CreateQueueEnvironmentRequest withTemplateType(EnvironmentTemplateType templateType)
The template's file type, JSON
or YAML
.
templateType
- The template's file type, JSON
or YAML
.EnvironmentTemplateType
public String toString()
toString
in class Object
Object.toString()
public CreateQueueEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.