Interface CreateLocationRequest.Builder

    • Method Detail

      • locationName

        CreateLocationRequest.Builder locationName​(String locationName)

        A descriptive name for the custom location.

        Parameters:
        locationName - A descriptive name for the custom location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

        Parameters:
        tags - A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLocationRequest.Builder tags​(Tag... tags)

        A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

        Parameters:
        tags - A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

        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)