@Stability(value=Stable) public static final class CfnTaskProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskProps>
CfnTaskProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTaskProps.Builder destinationLocationArn(String destinationLocationArn)
CfnTaskProps.getDestinationLocationArn()destinationLocationArn - The Amazon Resource Name (ARN) of an AWS storage resource's location. This parameter is required.this@Stability(value=Stable) public CfnTaskProps.Builder sourceLocationArn(String sourceLocationArn)
CfnTaskProps.getSourceLocationArn()sourceLocationArn - The Amazon Resource Name (ARN) of the source location for the task. This parameter is required.this@Stability(value=Stable) public CfnTaskProps.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
CfnTaskProps.getCloudWatchLogGroupArn()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 about how to use CloudWatch Logs with DataSync, see Monitoring Your Task in the AWS DataSync User Guide.
For more information about these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch Logs User Guide .
this@Stability(value=Stable) public CfnTaskProps.Builder excludes(IResolvable excludes)
CfnTaskProps.getExcludes()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" .this@Stability(value=Stable) public CfnTaskProps.Builder excludes(List<? extends Object> excludes)
CfnTaskProps.getExcludes()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" .this@Stability(value=Stable) public CfnTaskProps.Builder includes(IResolvable includes)
CfnTaskProps.getIncludes()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" .this@Stability(value=Stable) public CfnTaskProps.Builder includes(List<? extends Object> includes)
CfnTaskProps.getIncludes()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" .this@Stability(value=Stable) public CfnTaskProps.Builder name(String name)
CfnTaskProps.getName()name - The name of a task.
This value is a text reference that is used to identify the task in the console.this@Stability(value=Stable) public CfnTaskProps.Builder options(CfnTask.OptionsProperty options)
CfnTaskProps.getOptions()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.
this@Stability(value=Stable) public CfnTaskProps.Builder options(IResolvable options)
CfnTaskProps.getOptions()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.
this@Stability(value=Stable) public CfnTaskProps.Builder schedule(CfnTask.TaskScheduleProperty schedule)
CfnTaskProps.getSchedule()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 .this@Stability(value=Stable) public CfnTaskProps.Builder schedule(IResolvable schedule)
CfnTaskProps.getSchedule()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 .this@Stability(value=Stable) public CfnTaskProps.Builder tags(List<? extends CfnTag> tags)
CfnTaskProps.getTags()tags - The key-value pair that represents the tag that you want to add to the resource.
The value can be an empty string.this@Stability(value=Stable) public CfnTaskProps build()
build in interface software.amazon.jsii.Builder<CfnTaskProps>CfnTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.