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.ecs.model

Class StartTaskRequest

    • Constructor Detail

      • StartTaskRequest

        public StartTaskRequest()
    • Method Detail

      • setCluster

        public void setCluster(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.
      • getCluster

        public String getCluster()

        The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.

        Returns:
        The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.
      • withCluster

        public StartTaskRequest withCluster(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. If you do not specify a cluster, the default cluster is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getContainerInstances

        public List<String> getContainerInstances()

        The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.

        Returns:
        The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.
      • setContainerInstances

        public void setContainerInstances(Collection<String> containerInstances)

        The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.

        Parameters:
        containerInstances - The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.
      • withContainerInstances

        public StartTaskRequest withContainerInstances(String... containerInstances)

        The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.

        NOTE: This method appends the values to the existing list (if any). Use setContainerInstances(java.util.Collection) or withContainerInstances(java.util.Collection) if you want to override the existing values.

        Parameters:
        containerInstances - The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withContainerInstances

        public StartTaskRequest withContainerInstances(Collection<String> containerInstances)

        The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.

        Parameters:
        containerInstances - The container instance IDs or full ARN entries for the container instances where you would like to place your task. You can specify up to 10 container instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnableECSManagedTags

        public void setEnableECSManagedTags(Boolean enableECSManagedTags)

        Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.

        Parameters:
        enableECSManagedTags - Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.
      • getEnableECSManagedTags

        public Boolean getEnableECSManagedTags()

        Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.

        Returns:
        Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.
      • withEnableECSManagedTags

        public StartTaskRequest withEnableECSManagedTags(Boolean enableECSManagedTags)

        Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.

        Parameters:
        enableECSManagedTags - Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnableECSManagedTags

        public Boolean isEnableECSManagedTags()

        Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.

        Returns:
        Specifies whether to use Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.
      • setEnableExecuteCommand

        public void setEnableExecuteCommand(Boolean enableExecuteCommand)

        Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.

        Parameters:
        enableExecuteCommand - Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.
      • getEnableExecuteCommand

        public Boolean getEnableExecuteCommand()

        Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.

        Returns:
        Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.
      • withEnableExecuteCommand

        public StartTaskRequest withEnableExecuteCommand(Boolean enableExecuteCommand)

        Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.

        Parameters:
        enableExecuteCommand - Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnableExecuteCommand

        public Boolean isEnableExecuteCommand()

        Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.

        Returns:
        Whether or not the execute command functionality is turned on for the task. If true, this turns on the execute command functionality on all containers in the task.
      • setGroup

        public void setGroup(String group)

        The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).

        Parameters:
        group - The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).
      • getGroup

        public String getGroup()

        The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).

        Returns:
        The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).
      • withGroup

        public StartTaskRequest withGroup(String group)

        The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).

        Parameters:
        group - The name of the task group to associate with the task. The default value is the family name of the task definition (for example, family:my-family-name).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNetworkConfiguration

        public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)

        The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.

        Parameters:
        networkConfiguration - The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.
      • getNetworkConfiguration

        public NetworkConfiguration getNetworkConfiguration()

        The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.

        Returns:
        The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.
      • withNetworkConfiguration

        public StartTaskRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)

        The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.

        Parameters:
        networkConfiguration - The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOverrides

        public void setOverrides(TaskOverride overrides)

        A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it receives. You can override the default command for a container (that's specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override.

        A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure.

        Parameters:
        overrides - A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it receives. You can override the default command for a container (that's specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override.

        A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure.

      • getOverrides

        public TaskOverride getOverrides()

        A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it receives. You can override the default command for a container (that's specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override.

        A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure.

        Returns:
        A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it receives. You can override the default command for a container (that's specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override.

        A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure.

      • withOverrides

        public StartTaskRequest withOverrides(TaskOverride overrides)

        A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it receives. You can override the default command for a container (that's specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override.

        A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure.

        Parameters:
        overrides - A list of container overrides in JSON format that specify the name of a container in the specified task definition and the overrides it receives. You can override the default command for a container (that's specified in the task definition or Docker image) with a command override. You can also override existing environment variables (that are specified in the task definition or Docker image) on a container or add new environment variables to it with an environment override.

        A total of 8192 characters are allowed for overrides. This limit includes the JSON formatting characters of the override structure.

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

        public void setPropagateTags(String propagateTags)

        Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.

        Parameters:
        propagateTags - Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.
        See Also:
        PropagateTags
      • getPropagateTags

        public String getPropagateTags()

        Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.

        Returns:
        Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.
        See Also:
        PropagateTags
      • withPropagateTags

        public StartTaskRequest withPropagateTags(String propagateTags)

        Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.

        Parameters:
        propagateTags - Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PropagateTags
      • withPropagateTags

        public StartTaskRequest withPropagateTags(PropagateTags propagateTags)

        Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.

        Parameters:
        propagateTags - Specifies whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PropagateTags
      • setReferenceId

        public void setReferenceId(String referenceId)

        The reference ID to use for the task.

        Parameters:
        referenceId - The reference ID to use for the task.
      • getReferenceId

        public String getReferenceId()

        The reference ID to use for the task.

        Returns:
        The reference ID to use for the task.
      • withReferenceId

        public StartTaskRequest withReferenceId(String referenceId)

        The reference ID to use for the task.

        Parameters:
        referenceId - The reference ID to use for the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartedBy

        public void setStartedBy(String startedBy)

        An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed.

        If a task is started by an Amazon ECS service, the startedBy parameter contains the deployment ID of the service that starts it.

        Parameters:
        startedBy - An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed.

        If a task is started by an Amazon ECS service, the startedBy parameter contains the deployment ID of the service that starts it.

      • getStartedBy

        public String getStartedBy()

        An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed.

        If a task is started by an Amazon ECS service, the startedBy parameter contains the deployment ID of the service that starts it.

        Returns:
        An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed.

        If a task is started by an Amazon ECS service, the startedBy parameter contains the deployment ID of the service that starts it.

      • withStartedBy

        public StartTaskRequest withStartedBy(String startedBy)

        An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed.

        If a task is started by an Amazon ECS service, the startedBy parameter contains the deployment ID of the service that starts it.

        Parameters:
        startedBy - An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed.

        If a task is started by an Amazon ECS service, the startedBy parameter contains the deployment ID of the service that starts it.

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

        public List<Tag> getTags()

        The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

        Returns:
        The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

      • setTags

        public void setTags(Collection<Tag> tags)

        The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

        Parameters:
        tags - The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

      • withTags

        public StartTaskRequest withTags(Tag... tags)

        The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

        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 - The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

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

        public StartTaskRequest withTags(Collection<Tag> tags)

        The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

        Parameters:
        tags - The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

        The following basic restrictions apply to tags:

        • Maximum number of tags per resource - 50

        • For each resource, each tag key must be unique, and each tag key can have only one value.

        • Maximum key length - 128 Unicode characters in UTF-8

        • Maximum value length - 256 Unicode characters in UTF-8

        • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

        • Tag keys and values are case-sensitive.

        • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

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

        public void setTaskDefinition(String taskDefinition)

        The family and revision (family:revision) or full ARN of the task definition to start. If a revision isn't specified, the latest ACTIVE revision is used.

        Parameters:
        taskDefinition - The family and revision (family:revision) or full ARN of the task definition to start. If a revision isn't specified, the latest ACTIVE revision is used.
      • getTaskDefinition

        public String getTaskDefinition()

        The family and revision (family:revision) or full ARN of the task definition to start. If a revision isn't specified, the latest ACTIVE revision is used.

        Returns:
        The family and revision (family:revision) or full ARN of the task definition to start. If a revision isn't specified, the latest ACTIVE revision is used.
      • withTaskDefinition

        public StartTaskRequest withTaskDefinition(String taskDefinition)

        The family and revision (family:revision) or full ARN of the task definition to start. If a revision isn't specified, the latest ACTIVE revision is used.

        Parameters:
        taskDefinition - The family and revision (family:revision) or full ARN of the task definition to start. If a revision isn't specified, the latest ACTIVE revision is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getVolumeConfigurations

        public List<TaskVolumeConfiguration> getVolumeConfigurations()

        The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in TaskManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.

        Returns:
        The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in TaskManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.
      • setVolumeConfigurations

        public void setVolumeConfigurations(Collection<TaskVolumeConfiguration> volumeConfigurations)

        The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in TaskManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.

        Parameters:
        volumeConfigurations - The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in TaskManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.
      • withVolumeConfigurations

        public StartTaskRequest withVolumeConfigurations(Collection<TaskVolumeConfiguration> volumeConfigurations)

        The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in TaskManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.

        Parameters:
        volumeConfigurations - The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in TaskManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.
        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 によって変換されたページ (->オリジナル) /