@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()
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
|
List<FilterRule> |
getExcludes()
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want
DataSync to transfer.
|
List<FilterRule> |
getIncludes()
Specifies include filters define the files, objects, and folders in your source location that you want DataSync
to transfer.
|
ManifestConfig |
getManifestConfig()
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
String |
getName()
Specifies the name of your task.
|
Options |
getOptions() |
TaskSchedule |
getSchedule()
Specifies a schedule for when you want your task to run.
|
String |
getTaskArn()
Specifies the ARN of the task that you want to update.
|
TaskReportConfig |
getTaskReportConfig()
Specifies how you want to configure a task report, which provides detailed information about your DataSync
transfer.
|
int |
hashCode() |
void |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
|
void |
setExcludes(Collection<FilterRule> excludes)
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want
DataSync to transfer.
|
void |
setIncludes(Collection<FilterRule> includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync
to transfer.
|
void |
setManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
void |
setName(String name)
Specifies the name of your task.
|
void |
setOptions(Options options) |
void |
setSchedule(TaskSchedule schedule)
Specifies a schedule for when you want your task to run.
|
void |
setTaskArn(String taskArn)
Specifies the ARN of the task that you want to update.
|
void |
setTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about your DataSync
transfer.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTaskRequest |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
|
UpdateTaskRequest |
withExcludes(Collection<FilterRule> excludes)
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want
DataSync to transfer.
|
UpdateTaskRequest |
withExcludes(FilterRule... excludes)
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want
DataSync to transfer.
|
UpdateTaskRequest |
withIncludes(Collection<FilterRule> includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync
to transfer.
|
UpdateTaskRequest |
withIncludes(FilterRule... includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync
to transfer.
|
UpdateTaskRequest |
withManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
UpdateTaskRequest |
withName(String name)
Specifies the name of your task.
|
UpdateTaskRequest |
withOptions(Options options) |
UpdateTaskRequest |
withSchedule(TaskSchedule schedule)
Specifies a schedule for when you want your task to run.
|
UpdateTaskRequest |
withTaskArn(String taskArn)
Specifies the ARN of the task that you want to update.
|
UpdateTaskRequest |
withTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about 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)
Specifies the ARN of the task that you want to update.
taskArn
- Specifies the ARN of the task that you want to update.public String getTaskArn()
Specifies the ARN of the task that you want to update.
public UpdateTaskRequest withTaskArn(String taskArn)
Specifies the ARN of the task that you want to update.
taskArn
- Specifies the ARN of the task that you want to update.public void setOptions(Options options)
options
- public Options getOptions()
public UpdateTaskRequest withOptions(Options options)
options
- public List<FilterRule> getExcludes()
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
public void setExcludes(Collection<FilterRule> excludes)
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
excludes
- Specifies exclude filters that define the files, objects, and folders in your source location that you
don't want DataSync to transfer. For more information and examples, see Specifying what DataSync
transfers by using filters.public UpdateTaskRequest withExcludes(FilterRule... excludes)
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
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 exclude filters that define the files, objects, and folders in your source location that you
don't want DataSync to transfer. For more information and examples, see Specifying what DataSync
transfers by using filters.public UpdateTaskRequest withExcludes(Collection<FilterRule> excludes)
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
excludes
- Specifies exclude filters that define the files, objects, and folders in your source location that you
don't want DataSync to transfer. For more information and examples, see Specifying what DataSync
transfers by using filters.public void setSchedule(TaskSchedule schedule)
Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
schedule
- Specifies a schedule for when you want your task to run. For more information, see Scheduling your
task.public TaskSchedule getSchedule()
Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
public UpdateTaskRequest withSchedule(TaskSchedule schedule)
Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
schedule
- Specifies a schedule for when you want your task to run. For more information, see Scheduling your
task.public void setName(String name)
Specifies the name of your task.
name
- Specifies the name of your task.public String getName()
Specifies the name of your task.
public UpdateTaskRequest withName(String name)
Specifies the name of your task.
name
- Specifies the name of your task.public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
cloudWatchLogGroupArn
- Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.public String getCloudWatchLogGroupArn()
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
public UpdateTaskRequest withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
cloudWatchLogGroupArn
- Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.public List<FilterRule> getIncludes()
Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
public void setIncludes(Collection<FilterRule> includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
includes
- Specifies include filters define the files, objects, and folders in your source location that you want
DataSync to transfer. For more information and examples, see Specifying what DataSync
transfers by using filters.public UpdateTaskRequest withIncludes(FilterRule... includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
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 include filters define the files, objects, and folders in your source location that you want
DataSync to transfer. For more information and examples, see Specifying what DataSync
transfers by using filters.public UpdateTaskRequest withIncludes(Collection<FilterRule> includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
includes
- Specifies include filters define the files, objects, and folders in your source location that you want
DataSync to transfer. For more information and examples, see Specifying what DataSync
transfers by using filters.public void setManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
manifestConfig
- Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more
information and configuration examples, see Specifying
what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have
the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
public ManifestConfig getManifestConfig()
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have
the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
public UpdateTaskRequest withManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
manifestConfig
- Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more
information and configuration examples, see Specifying
what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have
the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
public void setTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
taskReportConfig
- Specifies how you want to configure a task report, which provides detailed information about your DataSync
transfer. For more information, see Monitoring your DataSync
transfers with task reports.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have
the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
public TaskReportConfig getTaskReportConfig()
Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have
the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
public UpdateTaskRequest withTaskReportConfig(TaskReportConfig taskReportConfig)
Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
taskReportConfig
- Specifies how you want to configure a task report, which provides detailed information about your DataSync
transfer. For more information, see Monitoring your DataSync
transfers with task reports.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have
the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
public String toString()
toString
in class Object
Object.toString()
public UpdateTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()