@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()
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the
task.
|
String |
getDestinationLocationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
|
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 a task.
|
Options |
getOptions()
Specifies the configuration options for a task.
|
TaskSchedule |
getSchedule()
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
String |
getSourceLocationArn()
The Amazon Resource Name (ARN) of the source location for the task.
|
List<TagListEntry> |
getTags()
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
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 Amazon CloudWatch log group that is used to monitor and log events in the
task.
|
void |
setDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
|
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 a task.
|
void |
setOptions(Options options)
Specifies the configuration options for a task.
|
void |
setSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
void |
setSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source location for the task.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
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.
|
CreateTaskRequest |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the
task.
|
CreateTaskRequest |
withDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
|
CreateTaskRequest |
withExcludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
CreateTaskRequest |
withExcludes(FilterRule... excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
CreateTaskRequest |
withIncludes(Collection<FilterRule> includes)
Specifies a list of filter rules that include specific data during your transfer.
|
CreateTaskRequest |
withIncludes(FilterRule... includes)
Specifies a list of filter rules that include specific data during your transfer.
|
CreateTaskRequest |
withName(String name)
The name of a task.
|
CreateTaskRequest |
withOptions(Options options)
Specifies the configuration options for a task.
|
CreateTaskRequest |
withSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
CreateTaskRequest |
withSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source location for the task.
|
CreateTaskRequest |
withTags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
CreateTaskRequest |
withTags(TagListEntry... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
CreateTaskRequest |
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 setSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source location for the task.
sourceLocationArn
- The Amazon Resource Name (ARN) of the source location for the task.public String getSourceLocationArn()
The Amazon Resource Name (ARN) of the source location for the task.
public CreateTaskRequest withSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source location for the task.
sourceLocationArn
- The Amazon Resource Name (ARN) of the source location for the task.public void setDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.public String getDestinationLocationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
public CreateTaskRequest withDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events
in the task.public String getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
public CreateTaskRequest withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events
in the task.public void setName(String name)
The name of a task. This value is a text reference that is used to identify the task in the console.
name
- The name of a task. This value is a text reference that is used to identify the task in the console.public String getName()
The name of a task. This value is a text reference that is used to identify the task in the console.
public CreateTaskRequest withName(String name)
The name of a task. This value is a text reference that is used to identify the task in the console.
name
- The name of a task. This value is a text reference that is used to identify the task in the console.public void setOptions(Options options)
Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
options
- Specifies the configuration options for a task. Some options include preserving file or object metadata
and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
public Options getOptions()
Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
public CreateTaskRequest withOptions(Options options)
Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
options
- Specifies the configuration options for a task. Some options include preserving file or object metadata
and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
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 CreateTaskRequest 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 CreateTaskRequest 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. The schedule should be specified in 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. The
schedule should be specified in 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. The schedule should be specified in UTC time. For more information, see Scheduling your task.
public CreateTaskRequest withSchedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in 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. The
schedule should be specified in UTC time. For more information, see Scheduling your
task.public List<TagListEntry> getTags()
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the 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 the Amazon Resource Name (ARN) representing the 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 the Amazon Resource Name (ARN) representing the 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 the Amazon Resource Name (ARN) representing the 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 the Amazon Resource Name (ARN) representing the 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 the Amazon Resource Name (ARN) representing the 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 the Amazon Resource Name (ARN) representing the task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
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 CreateTaskRequest 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 CreateTaskRequest 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 CreateTaskRequest 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 CreateTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()