@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartTaskExecutionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
StartTaskExecutionRequest
NOOP
Constructor and Description |
---|
StartTaskExecutionRequest() |
Modifier and Type | Method and Description |
---|---|
StartTaskExecutionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<FilterRule> |
getExcludes()
Specifies a list of filter rules that determines which files to exclude from a task.
|
List<FilterRule> |
getIncludes()
Specifies a list of filter rules that determines which files to include when running a task.
|
ManifestConfig |
getManifestConfig()
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
Options |
getOverrideOptions() |
List<TagListEntry> |
getTags()
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
|
String |
getTaskArn()
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
|
TaskReportConfig |
getTaskReportConfig()
Specifies how you want to configure a task report, which provides detailed information about your DataSync
transfer.
|
int |
hashCode() |
void |
setExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that determines which files to exclude from a task.
|
void |
setIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that determines which files to include when running a task.
|
void |
setManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
void |
setOverrideOptions(Options overrideOptions) |
void |
setTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
|
void |
setTaskArn(String taskArn)
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
|
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.
|
StartTaskExecutionRequest |
withExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that determines which files to exclude from a task.
|
StartTaskExecutionRequest |
withExcludes(FilterRule... excludes)
Specifies a list of filter rules that determines which files to exclude from a task.
|
StartTaskExecutionRequest |
withIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that determines which files to include when running a task.
|
StartTaskExecutionRequest |
withIncludes(FilterRule... includes)
Specifies a list of filter rules that determines which files to include when running a task.
|
StartTaskExecutionRequest |
withManifestConfig(ManifestConfig manifestConfig)
Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
StartTaskExecutionRequest |
withOverrideOptions(Options overrideOptions) |
StartTaskExecutionRequest |
withTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
|
StartTaskExecutionRequest |
withTags(TagListEntry... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
|
StartTaskExecutionRequest |
withTaskArn(String taskArn)
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
|
StartTaskExecutionRequest |
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 Amazon Resource Name (ARN) of the task that you want to start.
taskArn
- Specifies the Amazon Resource Name (ARN) of the task that you want to start.public String getTaskArn()
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
public StartTaskExecutionRequest withTaskArn(String taskArn)
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
taskArn
- Specifies the Amazon Resource Name (ARN) of the task that you want to start.public void setOverrideOptions(Options overrideOptions)
overrideOptions
- public Options getOverrideOptions()
public StartTaskExecutionRequest withOverrideOptions(Options overrideOptions)
overrideOptions
- public List<FilterRule> getIncludes()
Specifies a list of filter rules that determines which files to include when running a task. The pattern should
contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that
is, a pipe), for example, "/folder1|/folder2"
.
"/folder1|/folder2"
.public void setIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that determines which files to include when running a task. The pattern should
contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that
is, a pipe), for example, "/folder1|/folder2"
.
includes
- Specifies a list of filter rules that determines which files to include when running a task. The pattern
should contain a single filter string that consists of the patterns to include. The patterns are delimited
by "|" (that is, a pipe), for example, "/folder1|/folder2"
.public StartTaskExecutionRequest withIncludes(FilterRule... includes)
Specifies a list of filter rules that determines which files to include when running a task. The pattern should
contain a single filter string that consists of the patterns to include. 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
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 determines which files to include when running a task. The pattern
should contain a single filter string that consists of the patterns to include. The patterns are delimited
by "|" (that is, a pipe), for example, "/folder1|/folder2"
.public StartTaskExecutionRequest withIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that determines which files to include when running a task. The pattern should
contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that
is, a pipe), for example, "/folder1|/folder2"
.
includes
- Specifies a list of filter rules that determines which files to include when running a task. The pattern
should contain a single filter string that consists of the patterns to include. The patterns are delimited
by "|" (that is, a pipe), for example, "/folder1|/folder2"
.public List<FilterRule> getExcludes()
Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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)
Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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
- Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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 StartTaskExecutionRequest withExcludes(FilterRule... excludes)
Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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
- Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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 StartTaskExecutionRequest withExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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
- Specifies a list of filter rules that determines which files to exclude from a task. The list contains 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 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.
To remove a manifest configuration, specify this parameter with an empty value.
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.
To remove a manifest configuration, specify this parameter with an empty value.
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.
To remove a manifest configuration, specify this parameter with an empty value.
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.
To remove a manifest configuration, specify this parameter with an empty value.
public StartTaskExecutionRequest 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.
To remove a manifest configuration, specify this parameter with an empty value.
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.
To remove a manifest configuration, specify this parameter with an empty value.
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.
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 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 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 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 StartTaskExecutionRequest 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.
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 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 List<TagListEntry> getTags()
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
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 the Amazon Resource Name (ARN) representing the task execution.
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 the Amazon Resource Name (ARN) representing the task
execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
public StartTaskExecutionRequest withTags(TagListEntry... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
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 the Amazon Resource Name (ARN) representing the task
execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
public StartTaskExecutionRequest withTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
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 the Amazon Resource Name (ARN) representing the task
execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
public String toString()
toString
in class Object
Object.toString()
public StartTaskExecutionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()