@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateTaskResponse
NOOP
Constructor and Description |
---|
UpdateTaskRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
|
List<FilterRule> |
getExcludes()
|
String |
getName()
The name of the task to update.
|
Options |
getOptions() |
String |
getTaskArn()
The Amazon Resource Name (ARN) of the resource name of the task to update.
|
int |
hashCode() |
void |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
|
void |
setExcludes(Collection<FilterRule> excludes)
|
void |
setName(String name)
The name of the task to update.
|
void |
setOptions(Options options) |
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the resource name of the task to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTaskRequest |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
|
UpdateTaskRequest |
withExcludes(Collection<FilterRule> excludes)
|
UpdateTaskRequest |
withExcludes(FilterRule... excludes)
|
UpdateTaskRequest |
withName(String name)
The name of the task to update.
|
UpdateTaskRequest |
withOptions(Options options) |
UpdateTaskRequest |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the resource name of the task to update.
|
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 setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the resource name of the task to update.
taskArn
- The Amazon Resource Name (ARN) of the resource name of the task to update.public String getTaskArn()
The Amazon Resource Name (ARN) of the resource name of the task to update.
public UpdateTaskRequest withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the resource name of the task to update.
taskArn
- The Amazon Resource Name (ARN) of the resource name of the task to update.public void setOptions(Options options)
options
- public Options getOptions()
public UpdateTaskRequest withOptions(Options options)
options
- public List<FilterRule> getExcludes()
A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public void setExcludes(Collection<FilterRule> excludes)
A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes
- A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public UpdateTaskRequest withExcludes(FilterRule... excludes)
A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
NOTE: This method appends the values to the existing list (if any). Use
setExcludes(java.util.Collection)
or withExcludes(java.util.Collection)
if you want to override
the existing values.
excludes
- A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public UpdateTaskRequest withExcludes(Collection<FilterRule> excludes)
A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes
- A filter that determines which files to exclude from a task based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public void setName(String name)
The name of the task to update.
name
- The name of the task to update.public String getName()
The name of the task to update.
public UpdateTaskRequest withName(String name)
The name of the task to update.
name
- The name of the task to update.public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.public String getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
public UpdateTaskRequest withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.public String toString()
toString
in class Object
Object.toString()
public UpdateTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.