Interface EBSTagSpecification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EBSTagSpecification.Builder,EBSTagSpecification>, SdkBuilder<EBSTagSpecification.Builder,EBSTagSpecification>, SdkPojo
Enclosing class:
EBSTagSpecification

@Mutable @NotThreadSafe public static interface EBSTagSpecification.Builder extends SdkPojo, CopyableBuilder<EBSTagSpecification.Builder,EBSTagSpecification>
  • Method Details

    • resourceType

      EBSTagSpecification.Builder resourceType(String resourceType)

      The type of volume resource.

      Parameters:
      resourceType - The type of volume resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      EBSTagSpecification.Builder resourceType(EBSResourceType resourceType)

      The type of volume resource.

      Parameters:
      resourceType - The type of volume resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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<Tag>).

      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:
    • 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

      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: