Interface Resource.Builder

    • Method Detail

      • id

        Resource.Builder id​(String id)

        The unique identifier for the resource.

        At least one id or ARN is required.

        Parameters:
        id - The unique identifier for the resource.

        At least one id or ARN is required.

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

        Resource.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the resource. At least one id or ARN is required.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the resource. At least one id or ARN is required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • detailUrl

        Resource.Builder detailUrl​(String detailUrl)

        The URL to the resource's detail page. If a detail page URL is unavailable, it is the URL to an informational page that describes the resource's type.

        Parameters:
        detailUrl - The URL to the resource's detail page. If a detail page URL is unavailable, it is the URL to an informational page that describes the resource's type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Resource.Builder tags​(Collection<String> tags)

        A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

        Parameters:
        tags - A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Resource.Builder tags​(String... tags)

        A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

        Parameters:
        tags - A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.