@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()
A list of filter rules that determines which files to exclude from a task.
|
String |
getName()
The name of the task to update.
|
Options |
getOptions() |
TaskSchedule |
getSchedule()
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
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)
A list of filter rules that determines which files to exclude from a task.
|
void |
setName(String name)
The name of the task to update.
|
void |
setOptions(Options options) |
void |
setSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
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)
A list of filter rules that determines which files to exclude from a task.
|
UpdateTaskRequest |
withExcludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task.
|
UpdateTaskRequest |
withName(String name)
The name of the task to update.
|
UpdateTaskRequest |
withOptions(Options options) |
UpdateTaskRequest |
withSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
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 list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
"/folder1|/folder2"
public void setExcludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
excludes
- A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is,
a pipe), for example: "/folder1|/folder2"
public UpdateTaskRequest withExcludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
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 list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is,
a pipe), for example: "/folder1|/folder2"
public UpdateTaskRequest withExcludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
excludes
- A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is,
a pipe), for example: "/folder1|/folder2"
public void setSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see task-scheduling.
schedule
- Specifies a schedule used to periodically transfer files from a source to a destination location. You can
configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in
the day or hour you want the task to execute. The time you specify is UTC time. For more information, see
task-scheduling.public TaskSchedule getSchedule()
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see task-scheduling.
public UpdateTaskRequest withSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see task-scheduling.
schedule
- Specifies a schedule used to periodically transfer files from a source to a destination location. You can
configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in
the day or hour you want the task to execute. The time you specify is UTC time. For more information, see
task-scheduling.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.