@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 AWS storage resource's location.
|
List<FilterRule> |
getExcludes()
|
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 . |
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 AWS storage resource's location.
|
void |
setExcludes(Collection<FilterRule> excludes)
|
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 |
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 AWS storage resource's location.
|
CreateTaskRequest |
withExcludes(Collection<FilterRule> excludes)
|
CreateTaskRequest |
withExcludes(FilterRule... excludes)
|
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 |
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, 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 AWS storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of an AWS storage resource's location.public String getDestinationLocationArn()
The Amazon Resource Name (ARN) of an AWS storage resource's location.
public CreateTaskRequest withDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an AWS storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of an AWS 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.
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html" (Monitoring Your Task)
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events
in the task.
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html" (Monitoring Your 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.
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html" (Monitoring Your Task)
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html" (Monitoring Your 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.
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html" (Monitoring Your Task)
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events
in the task.
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see "https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html" (Monitoring Your 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 a the task execution. For more information, see the 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 a the task execution. For more information, see the
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 a the task execution. For more information, see the 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 a the task execution. For more information, see the
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 a the task execution. For more information, see the 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 a the task execution. For more information, see the
operation.
public List<FilterRule> getExcludes()
A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public void setExcludes(Collection<FilterRule> excludes)
A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes
- A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public CreateTaskRequest withExcludes(FilterRule... excludes)
A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
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 filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public CreateTaskRequest withExcludes(Collection<FilterRule> excludes)
A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes
- A filter that determines which files to exclude from a task based on the specified pattern. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
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 String toString()
toString
in class Object
Object.toString()
public CreateTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.