@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateTaskRequest
NOOP
Constructor and Description |
---|
CreateTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTaskRequest |
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.
|
String |
getDestinationLocationArn()
Specifies the ARN of your transfer's destination location.
|
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()
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
|
TaskSchedule |
getSchedule()
Specifies a schedule for when you want your task to run.
|
String |
getSourceLocationArn()
Specifies the ARN of your transfer's source location.
|
List<TagListEntry> |
getTags()
Specifies the tags that you want to apply to your task.
|
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 |
setDestinationLocationArn(String destinationLocationArn)
Specifies the ARN of your transfer's destination location.
|
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)
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
|
void |
setSchedule(TaskSchedule schedule)
Specifies a schedule for when you want your task to run.
|
void |
setSourceLocationArn(String sourceLocationArn)
Specifies the ARN of your transfer's source location.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to your task.
|
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.
|
CreateTaskRequest |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
|
CreateTaskRequest |
withDestinationLocationArn(String destinationLocationArn)
Specifies the ARN of your transfer's destination location.
|
CreateTaskRequest |
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.
|
CreateTaskRequest |
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.
|
CreateTaskRequest |
withIncludes(Collection<FilterRule> includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync
to transfer.
|
CreateTaskRequest |
withIncludes(FilterRule... includes)
Specifies include filters define the files, objects, and folders in your source location that you want DataSync
to transfer.
|
CreateTaskRequest |
withManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
CreateTaskRequest |
withName(String name)
Specifies the name of your task.
|
CreateTaskRequest |
withOptions(Options options)
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
|
CreateTaskRequest |
withSchedule(TaskSchedule schedule)
Specifies a schedule for when you want your task to run.
|
CreateTaskRequest |
withSourceLocationArn(String sourceLocationArn)
Specifies the ARN of your transfer's source location.
|
CreateTaskRequest |
withTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to your task.
|
CreateTaskRequest |
withTags(TagListEntry... tags)
Specifies the tags that you want to apply to your task.
|
CreateTaskRequest |
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 setSourceLocationArn(String sourceLocationArn)
Specifies the ARN of your transfer's source location.
sourceLocationArn
- Specifies the ARN of your transfer's source location.public String getSourceLocationArn()
Specifies the ARN of your transfer's source location.
public CreateTaskRequest withSourceLocationArn(String sourceLocationArn)
Specifies the ARN of your transfer's source location.
sourceLocationArn
- Specifies the ARN of your transfer's source location.public void setDestinationLocationArn(String destinationLocationArn)
Specifies the ARN of your transfer's destination location.
destinationLocationArn
- Specifies the ARN of your transfer's destination location.public String getDestinationLocationArn()
Specifies the ARN of your transfer's destination location.
public CreateTaskRequest withDestinationLocationArn(String destinationLocationArn)
Specifies the ARN of your transfer's destination location.
destinationLocationArn
- Specifies the ARN of your transfer's destination location.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 CreateTaskRequest 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 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 CreateTaskRequest withName(String name)
Specifies the name of your task.
name
- Specifies the name of your task.public void setOptions(Options options)
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
options
- Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other
options.public Options getOptions()
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
public CreateTaskRequest withOptions(Options options)
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
options
- Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other
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 CreateTaskRequest 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 CreateTaskRequest 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 CreateTaskRequest 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 List<TagListEntry> getTags()
Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
public void setTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
tags
- Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
public CreateTaskRequest withTags(TagListEntry... tags)
Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
public CreateTaskRequest withTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
tags
- Specifies the tags that you want to apply to your task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
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 CreateTaskRequest 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 CreateTaskRequest 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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
public CreateTaskRequest 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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
public CreateTaskRequest 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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
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 role that you're using DataSync with) must have the
iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
public String toString()
toString
in class Object
Object.toString()
public CreateTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()