Interface EBSTagSpecification.Builder

    • Method Detail

      • tags

        EBSTagSpecification.Builder tags​(Collection<Tag> tags)

        The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.

        Parameters:
        tags - The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        EBSTagSpecification.Builder tags​(Tag... tags)

        The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.

        Parameters:
        tags - The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        EBSTagSpecification.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • propagateTags

        EBSTagSpecification.Builder propagateTags​(String propagateTags)

        Determines whether to propagate the tags from the task definition to 
the Amazon EBS volume. Tags can only propagate to a SERVICE specified in 
ServiceVolumeConfiguration. If no value is specified, the tags aren't 
propagated.

        Parameters:
        propagateTags - Determines whether to propagate the tags from the task definition to 
the Amazon EBS volume. Tags can only propagate to a SERVICE specified in 
 ServiceVolumeConfiguration. 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, PropagateTags
      • propagateTags

        EBSTagSpecification.Builder propagateTags​(PropagateTags propagateTags)

        Determines whether to propagate the tags from the task definition to 
the Amazon EBS volume. Tags can only propagate to a SERVICE specified in 
ServiceVolumeConfiguration. If no value is specified, the tags aren't 
propagated.

        Parameters:
        propagateTags - Determines whether to propagate the tags from the task definition to 
the Amazon EBS volume. Tags can only propagate to a SERVICE specified in 
 ServiceVolumeConfiguration. 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, PropagateTags