@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateQueueRequest() |
Modifier and Type | Method and Description |
---|---|
CreateQueueRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateQueueRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateQueueRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllowedStorageProfileIds()
The storage profile IDs to include in the queue.
|
String |
getClientToken()
The unique token which the server uses to recognize retries of the same request.
|
String |
getDefaultBudgetAction()
The default action to take on a queue if a budget isn't configured.
|
String |
getDescription()
The description of the queue.
|
String |
getDisplayName()
The display name of the queue.
|
String |
getFarmId()
The farm ID of the farm to connect to the queue.
|
JobAttachmentSettings |
getJobAttachmentSettings()
The job attachment settings for the queue.
|
JobRunAsUser |
getJobRunAsUser()
The jobs in the queue run as the specified POSIX user.
|
List<String> |
getRequiredFileSystemLocationNames()
The file system location name to include in the queue.
|
String |
getRoleArn()
The IAM role ARN that workers will use while running jobs for this queue.
|
Map<String,String> |
getTags()
Each tag consists of a tag key and a tag value.
|
int |
hashCode() |
void |
setAllowedStorageProfileIds(Collection<String> allowedStorageProfileIds)
The storage profile IDs to include in the queue.
|
void |
setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
void |
setDefaultBudgetAction(String defaultBudgetAction)
The default action to take on a queue if a budget isn't configured.
|
void |
setDescription(String description)
The description of the queue.
|
void |
setDisplayName(String displayName)
The display name of the queue.
|
void |
setFarmId(String farmId)
The farm ID of the farm to connect to the queue.
|
void |
setJobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings)
The job attachment settings for the queue.
|
void |
setJobRunAsUser(JobRunAsUser jobRunAsUser)
The jobs in the queue run as the specified POSIX user.
|
void |
setRequiredFileSystemLocationNames(Collection<String> requiredFileSystemLocationNames)
The file system location name to include in the queue.
|
void |
setRoleArn(String roleArn)
The IAM role ARN that workers will use while running jobs for this queue.
|
void |
setTags(Map<String,String> tags)
Each tag consists of a tag key and a tag value.
|
String |
toString()
Returns a string representation of this object.
|
CreateQueueRequest |
withAllowedStorageProfileIds(Collection<String> allowedStorageProfileIds)
The storage profile IDs to include in the queue.
|
CreateQueueRequest |
withAllowedStorageProfileIds(String... allowedStorageProfileIds)
The storage profile IDs to include in the queue.
|
CreateQueueRequest |
withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
CreateQueueRequest |
withDefaultBudgetAction(DefaultQueueBudgetAction defaultBudgetAction)
The default action to take on a queue if a budget isn't configured.
|
CreateQueueRequest |
withDefaultBudgetAction(String defaultBudgetAction)
The default action to take on a queue if a budget isn't configured.
|
CreateQueueRequest |
withDescription(String description)
The description of the queue.
|
CreateQueueRequest |
withDisplayName(String displayName)
The display name of the queue.
|
CreateQueueRequest |
withFarmId(String farmId)
The farm ID of the farm to connect to the queue.
|
CreateQueueRequest |
withJobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings)
The job attachment settings for the queue.
|
CreateQueueRequest |
withJobRunAsUser(JobRunAsUser jobRunAsUser)
The jobs in the queue run as the specified POSIX user.
|
CreateQueueRequest |
withRequiredFileSystemLocationNames(Collection<String> requiredFileSystemLocationNames)
The file system location name to include in the queue.
|
CreateQueueRequest |
withRequiredFileSystemLocationNames(String... requiredFileSystemLocationNames)
The file system location name to include in the queue.
|
CreateQueueRequest |
withRoleArn(String roleArn)
The IAM role ARN that workers will use while running jobs for this queue.
|
CreateQueueRequest |
withTags(Map<String,String> tags)
Each tag consists of a tag key and a tag value.
|
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 List<String> getAllowedStorageProfileIds()
The storage profile IDs to include in the queue.
public void setAllowedStorageProfileIds(Collection<String> allowedStorageProfileIds)
The storage profile IDs to include in the queue.
allowedStorageProfileIds
- The storage profile IDs to include in the queue.public CreateQueueRequest withAllowedStorageProfileIds(String... allowedStorageProfileIds)
The storage profile IDs to include in the queue.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedStorageProfileIds(java.util.Collection)
or
withAllowedStorageProfileIds(java.util.Collection)
if you want to override the existing values.
allowedStorageProfileIds
- The storage profile IDs to include in the queue.public CreateQueueRequest withAllowedStorageProfileIds(Collection<String> allowedStorageProfileIds)
The storage profile IDs to include in the queue.
allowedStorageProfileIds
- The storage profile IDs to include in the queue.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 CreateQueueRequest 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 setDefaultBudgetAction(String defaultBudgetAction)
The default action to take on a queue if a budget isn't configured.
defaultBudgetAction
- The default action to take on a queue if a budget isn't configured.DefaultQueueBudgetAction
public String getDefaultBudgetAction()
The default action to take on a queue if a budget isn't configured.
DefaultQueueBudgetAction
public CreateQueueRequest withDefaultBudgetAction(String defaultBudgetAction)
The default action to take on a queue if a budget isn't configured.
defaultBudgetAction
- The default action to take on a queue if a budget isn't configured.DefaultQueueBudgetAction
public CreateQueueRequest withDefaultBudgetAction(DefaultQueueBudgetAction defaultBudgetAction)
The default action to take on a queue if a budget isn't configured.
defaultBudgetAction
- The default action to take on a queue if a budget isn't configured.DefaultQueueBudgetAction
public void setDescription(String description)
The description of the queue.
description
- The description of the queue.public String getDescription()
The description of the queue.
public CreateQueueRequest withDescription(String description)
The description of the queue.
description
- The description of the queue.public void setDisplayName(String displayName)
The display name of the queue.
displayName
- The display name of the queue.public String getDisplayName()
The display name of the queue.
public CreateQueueRequest withDisplayName(String displayName)
The display name of the queue.
displayName
- The display name of the queue.public void setFarmId(String farmId)
The farm ID of the farm to connect to the queue.
farmId
- The farm ID of the farm to connect to the queue.public String getFarmId()
The farm ID of the farm to connect to the queue.
public CreateQueueRequest withFarmId(String farmId)
The farm ID of the farm to connect to the queue.
farmId
- The farm ID of the farm to connect to the queue.public void setJobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings)
The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.
jobAttachmentSettings
- The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.public JobAttachmentSettings getJobAttachmentSettings()
The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.
public CreateQueueRequest withJobAttachmentSettings(JobAttachmentSettings jobAttachmentSettings)
The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.
jobAttachmentSettings
- The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.public void setJobRunAsUser(JobRunAsUser jobRunAsUser)
The jobs in the queue run as the specified POSIX user.
jobRunAsUser
- The jobs in the queue run as the specified POSIX user.public JobRunAsUser getJobRunAsUser()
The jobs in the queue run as the specified POSIX user.
public CreateQueueRequest withJobRunAsUser(JobRunAsUser jobRunAsUser)
The jobs in the queue run as the specified POSIX user.
jobRunAsUser
- The jobs in the queue run as the specified POSIX user.public List<String> getRequiredFileSystemLocationNames()
The file system location name to include in the queue.
public void setRequiredFileSystemLocationNames(Collection<String> requiredFileSystemLocationNames)
The file system location name to include in the queue.
requiredFileSystemLocationNames
- The file system location name to include in the queue.public CreateQueueRequest withRequiredFileSystemLocationNames(String... requiredFileSystemLocationNames)
The file system location name to include in the queue.
NOTE: This method appends the values to the existing list (if any). Use
setRequiredFileSystemLocationNames(java.util.Collection)
or
withRequiredFileSystemLocationNames(java.util.Collection)
if you want to override the existing values.
requiredFileSystemLocationNames
- The file system location name to include in the queue.public CreateQueueRequest withRequiredFileSystemLocationNames(Collection<String> requiredFileSystemLocationNames)
The file system location name to include in the queue.
requiredFileSystemLocationNames
- The file system location name to include in the queue.public void setRoleArn(String roleArn)
The IAM role ARN that workers will use while running jobs for this queue.
roleArn
- The IAM role ARN that workers will use while running jobs for this queue.public String getRoleArn()
The IAM role ARN that workers will use while running jobs for this queue.
public CreateQueueRequest withRoleArn(String roleArn)
The IAM role ARN that workers will use while running jobs for this queue.
roleArn
- The IAM role ARN that workers will use while running jobs for this queue.public Map<String,String> getTags()
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
public void setTags(Map<String,String> tags)
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
tags
- Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can
be empty strings.public CreateQueueRequest withTags(Map<String,String> tags)
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
tags
- Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can
be empty strings.public CreateQueueRequest addTagsEntry(String key, String value)
public CreateQueueRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateQueueRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()