Interface Resource.Builder

    • Method Detail

      • details

        Resource.Builder details​(ResourceDetails details)

        An object that contains details about the resource involved in a finding.

        Parameters:
        details - An object that contains details about the resource involved in a finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Resource.Builder id​(String id)

        The ID of the resource.

        Parameters:
        id - The ID of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Resource.Builder tags​(Map<String,​String> tags)

        The tags attached to the resource.

        Parameters:
        tags - The tags attached to the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Resource.Builder type​(String type)

        The type of resource.

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