@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 Amazon CloudWatch log group.
|
List<FilterRule> |
getExcludes()
Specifies a list of filter rules that exclude specific data during your transfer.
|
List<FilterRule> |
getIncludes()
Specifies a list of filter rules that include specific data during your transfer.
|
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.
|
TaskReportConfig |
getTaskReportConfig()
Specifies how you want to configure a task report, which provides detailed information about for your DataSync
transfer.
|
int |
hashCode() |
void |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
|
void |
setExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
void |
setIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that include specific data during your transfer.
|
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.
|
void |
setTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about for your DataSync
transfer.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTaskRequest |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
|
UpdateTaskRequest |
withExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
UpdateTaskRequest |
withExcludes(FilterRule... excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
UpdateTaskRequest |
withIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that include specific data during your transfer.
|
UpdateTaskRequest |
withIncludes(FilterRule... includes)
Specifies a list of filter rules that include specific data during your transfer.
|
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.
|
UpdateTaskRequest |
withTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about for your DataSync
transfer.
|
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()
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
public void setExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
excludes
- Specifies a list of filter rules that exclude specific data during your transfer. For more information and
examples, see Filtering
data transferred by DataSync.public UpdateTaskRequest withExcludes(FilterRule... excludes)
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
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
- Specifies a list of filter rules that exclude specific data during your transfer. For more information and
examples, see Filtering
data transferred by DataSync.public UpdateTaskRequest withExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
excludes
- Specifies a list of filter rules that exclude specific data during your transfer. For more information and
examples, see Filtering
data transferred by DataSync.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 Scheduling your task.
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
Scheduling your
task.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 Scheduling your task.
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 Scheduling your task.
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
Scheduling your
task.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 Amazon CloudWatch log group.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.public String getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
public UpdateTaskRequest withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.public List<FilterRule> getIncludes()
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
public void setIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
includes
- Specifies a list of filter rules that include specific data during your transfer. For more information and
examples, see Filtering
data transferred by DataSync.public UpdateTaskRequest withIncludes(FilterRule... includes)
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
NOTE: This method appends the values to the existing list (if any). Use
setIncludes(java.util.Collection)
or withIncludes(java.util.Collection)
if you want to override
the existing values.
includes
- Specifies a list of filter rules that include specific data during your transfer. For more information and
examples, see Filtering
data transferred by DataSync.public UpdateTaskRequest withIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
includes
- Specifies a list of filter rules that include specific data during your transfer. For more information and
examples, see Filtering
data transferred by DataSync.public void setTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
taskReportConfig
- Specifies how you want to configure a task report, which provides detailed information about for your
DataSync transfer.public TaskReportConfig getTaskReportConfig()
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
public UpdateTaskRequest withTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
taskReportConfig
- Specifies how you want to configure a task report, which provides detailed information about for your
DataSync transfer.public String toString()
toString
in class Object
Object.toString()
public UpdateTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()