JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.datasync.model

Class CreateTaskRequest

    • Constructor Detail

      • CreateTaskRequest

        public CreateTaskRequest()
    • Method Detail

      • setSourceLocationArn

        public void setSourceLocationArn(String sourceLocationArn)

        Specifies the ARN of your transfer's source location.

        Parameters:
        sourceLocationArn - Specifies the ARN of your transfer's source location.
      • getSourceLocationArn

        public String getSourceLocationArn()

        Specifies the ARN of your transfer's source location.

        Returns:
        Specifies the ARN of your transfer's source location.
      • withSourceLocationArn

        public CreateTaskRequest withSourceLocationArn(String sourceLocationArn)

        Specifies the ARN of your transfer's source location.

        Parameters:
        sourceLocationArn - Specifies the ARN of your transfer's source location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDestinationLocationArn

        public void setDestinationLocationArn(String destinationLocationArn)

        Specifies the ARN of your transfer's destination location.

        Parameters:
        destinationLocationArn - Specifies the ARN of your transfer's destination location.
      • getDestinationLocationArn

        public String getDestinationLocationArn()

        Specifies the ARN of your transfer's destination location.

        Returns:
        Specifies the ARN of your transfer's destination location.
      • withDestinationLocationArn

        public CreateTaskRequest withDestinationLocationArn(String destinationLocationArn)

        Specifies the ARN of your transfer's destination location.

        Parameters:
        destinationLocationArn - Specifies the ARN of your transfer's destination location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCloudWatchLogGroupArn

        public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)

        Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.

        Parameters:
        cloudWatchLogGroupArn - Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
      • getCloudWatchLogGroupArn

        public String getCloudWatchLogGroupArn()

        Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.

        Returns:
        Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
      • withCloudWatchLogGroupArn

        public CreateTaskRequest withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)

        Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.

        Parameters:
        cloudWatchLogGroupArn - Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName(String name)

        Specifies the name of your task.

        Parameters:
        name - Specifies the name of your task.
      • getName

        public String getName()

        Specifies the name of your task.

        Returns:
        Specifies the name of your task.
      • withName

        public CreateTaskRequest withName(String name)

        Specifies the name of your task.

        Parameters:
        name - Specifies the name of your task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOptions

        public void setOptions(Options options)

        Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.

        Parameters:
        options - Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
      • getOptions

        public Options getOptions()

        Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.

        Returns:
        Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
      • withOptions

        public CreateTaskRequest withOptions(Options options)

        Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.

        Parameters:
        options - Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSchedule

        public void setSchedule(TaskSchedule schedule)

        Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.

        Parameters:
        schedule - Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
      • getSchedule

        public TaskSchedule getSchedule()

        Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.

        Returns:
        Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
      • withSchedule

        public CreateTaskRequest withSchedule(TaskSchedule schedule)

        Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.

        Parameters:
        schedule - Specifies a schedule for when you want your task to run. For more information, see Scheduling your task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<TagListEntry> getTags()

        Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

        Returns:
        Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

      • setTags

        public void setTags(Collection<TagListEntry> tags)

        Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

        Parameters:
        tags - Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

      • withTags

        public CreateTaskRequest withTags(TagListEntry... tags)

        Specifies the tags that you want to apply to your 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.

        Parameters:
        tags - Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateTaskRequest withTags(Collection<TagListEntry> tags)

        Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

        Parameters:
        tags - Specifies the tags that you want to apply to your task.

        Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setManifestConfig

        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.

        Parameters:
        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.

      • getManifestConfig

        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.

        Returns:
        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.

      • withManifestConfig

        public CreateTaskRequest 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTaskReportConfig

        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.

        Parameters:
        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.

      • getTaskReportConfig

        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.

        Returns:
        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.

      • withTaskReportConfig

        public CreateTaskRequest 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /