@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()
 A list of filter rules that determines which files to exclude from a task. | 
| List<FilterRule> | getIncludes()
 A list of filter rules that determines which files to include when running a task. | 
| String | getName()
 The name of a task. | 
| Options | getOptions()
 The set of configuration options that control the behavior of a single execution of the task that occurs when you
 call  StartTaskExecution. | 
| 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()
 The key-value pair that represents the tag that you want to add to the resource. | 
| 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)
 A list of filter rules that determines which files to exclude from a task. | 
| void | setIncludes(Collection<FilterRule> includes)
 A list of filter rules that determines which files to include when running a task. | 
| void | setName(String name)
 The name of a task. | 
| void | setOptions(Options options)
 The set of configuration options that control the behavior of a single execution of the task that occurs when you
 call  StartTaskExecution. | 
| 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)
 The key-value pair that represents the tag that you want to add to the resource. | 
| 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)
 A list of filter rules that determines which files to exclude from a task. | 
| CreateTaskRequest | withExcludes(FilterRule... excludes)
 A list of filter rules that determines which files to exclude from a task. | 
| CreateTaskRequest | withIncludes(Collection<FilterRule> includes)
 A list of filter rules that determines which files to include when running a task. | 
| CreateTaskRequest | withIncludes(FilterRule... includes)
 A list of filter rules that determines which files to include when running a task. | 
| CreateTaskRequest | withName(String name)
 The name of a task. | 
| CreateTaskRequest | withOptions(Options options)
 The set of configuration options that control the behavior of a single execution of the task that occurs when you
 call  StartTaskExecution. | 
| 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)
 The key-value pair that represents the tag that you want to add to the resource. | 
| CreateTaskRequest | withTags(TagListEntry... tags)
 The key-value pair that represents the tag that you want to add to the resource. | 
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, withSdkRequestTimeoutpublic 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)
 The set of configuration options that control the behavior of a single execution of the task that occurs when you
 call StartTaskExecution. You can configure these options to preserve metadata such as user ID (UID)
 and group ID (GID), file permissions, data integrity verification, and so on.
 
 For each individual task execution, you can override these options by specifying the OverrideOptions
 before starting the task execution. For more information, see the StartTaskExecution
 operation.
 
options - The set of configuration options that control the behavior of a single execution of the task that occurs
        when you call StartTaskExecution. You can configure these options to preserve metadata such
        as user ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
        
        For each individual task execution, you can override these options by specifying the
        OverrideOptions before starting the task execution. For more information, see the StartTaskExecution operation.
public Options getOptions()
 The set of configuration options that control the behavior of a single execution of the task that occurs when you
 call StartTaskExecution. You can configure these options to preserve metadata such as user ID (UID)
 and group ID (GID), file permissions, data integrity verification, and so on.
 
 For each individual task execution, you can override these options by specifying the OverrideOptions
 before starting the task execution. For more information, see the StartTaskExecution
 operation.
 
StartTaskExecution. You can configure these options to preserve metadata such
         as user ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
         
         For each individual task execution, you can override these options by specifying the
         OverrideOptions before starting the task execution. For more information, see the StartTaskExecution operation.
public CreateTaskRequest withOptions(Options options)
 The set of configuration options that control the behavior of a single execution of the task that occurs when you
 call StartTaskExecution. You can configure these options to preserve metadata such as user ID (UID)
 and group ID (GID), file permissions, data integrity verification, and so on.
 
 For each individual task execution, you can override these options by specifying the OverrideOptions
 before starting the task execution. For more information, see the StartTaskExecution
 operation.
 
options - The set of configuration options that control the behavior of a single execution of the task that occurs
        when you call StartTaskExecution. You can configure these options to preserve metadata such
        as user ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
        
        For each individual task execution, you can override these options by specifying the
        OverrideOptions before starting the task execution. For more information, see the StartTaskExecution operation.
public List<FilterRule> getExcludes()
 A list of filter rules that determines which files to exclude from a task. The list should contain 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)
 A list of filter rules that determines which files to exclude from a task. The list should contain 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 - A list of filter rules that determines which files to exclude from a task. The list should contain 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 CreateTaskRequest withExcludes(FilterRule... excludes)
 A list of filter rules that determines which files to exclude from a task. The list should contain 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 - A list of filter rules that determines which files to exclude from a task. The list should contain 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 CreateTaskRequest withExcludes(Collection<FilterRule> excludes)
 A list of filter rules that determines which files to exclude from a task. The list should contain 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 - A list of filter rules that determines which files to exclude from a task. The list should contain 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 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()
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
public void setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
tags - The key-value pair that represents the tag that you want to add to the resource. The value can be an empty
        string.public CreateTaskRequest withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
 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 - The key-value pair that represents the tag that you want to add to the resource. The value can be an empty
        string.public CreateTaskRequest withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
tags - The key-value pair that represents the tag that you want to add to the resource. The value can be an empty
        string.public List<FilterRule> getIncludes()
 A list of filter rules that determines which files to include when running a task. The pattern contains 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)
 A list of filter rules that determines which files to include when running a task. The pattern contains 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 - A list of filter rules that determines which files to include when running a task. The pattern contains 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 CreateTaskRequest withIncludes(FilterRule... includes)
 A list of filter rules that determines which files to include when running a task. The pattern contains 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 - A list of filter rules that determines which files to include when running a task. The pattern contains 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 CreateTaskRequest withIncludes(Collection<FilterRule> includes)
 A list of filter rules that determines which files to include when running a task. The pattern contains 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 - A list of filter rules that determines which files to include when running a task. The pattern contains 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 String toString()
toString in class ObjectObject.toString()public CreateTaskRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()