Interface Resource.Builder

    • Method Detail

      • id

        Resource.Builder id​(String id)

        The unique identifier of the resource.

        We mention the term resource, which is most commonly a product, so a resourceId is also a productId.

        Parameters:
        id - The unique identifier of the resource.

        We mention the term resource, which is most commonly a product, so a resourceId is also a productId.

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

        Resource.Builder type​(String type)

        Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.

        Parameters:
        type - Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.
        Returns:
        Returns a reference to this object so that method calls can be chained together.