Interface DiscoveredResource.Builder

  • Method Details

    • resourceIdentifier

      DiscoveredResource.Builder resourceIdentifier(String resourceIdentifier)

      The identifier (typically the ARN) of the resource.

      Parameters:
      resourceIdentifier - The identifier (typically the ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      DiscoveredResource.Builder resourceType(String resourceType)

      The resource type, in lowercase service:type form (for example, s3:bucket). This is the form that resourcetype: filters use.

      Parameters:
      resourceType - The resource type, in lowercase service:type form (for example, s3:bucket). This is the form that resourcetype: filters use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      DiscoveredResource.Builder accountId(String accountId)

      The AWS account the resource belongs to.

      Parameters:
      accountId - The AWS account the resource belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The AWS Region that the resource is in. The value is global for global resources such as IAM.

      Parameters:
      region - The AWS Region that the resource is in. The value is global for global resources such as IAM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.