Interface Resource.Builder

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

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

    • 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

      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

      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.