Interface FindingSummaryV2.Builder

    • Method Detail

      • analyzedAt

        FindingSummaryV2.Builder analyzedAt​(Instant analyzedAt)

        The time at which the resource-based policy or IAM entity that generated the finding was analyzed.

        Parameters:
        analyzedAt - The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        FindingSummaryV2.Builder createdAt​(Instant createdAt)

        The time at which the finding was created.

        Parameters:
        createdAt - The time at which the finding was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        FindingSummaryV2.Builder error​(String error)

        The error that resulted in an Error finding.

        Parameters:
        error - The error that resulted in an Error finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        FindingSummaryV2.Builder id​(String id)

        The ID of the finding.

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

        FindingSummaryV2.Builder resource​(String resource)

        The resource that the external principal has access to.

        Parameters:
        resource - The resource that the external principal has access to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        FindingSummaryV2.Builder resourceType​(String resourceType)

        The type of the resource that the external principal has access to.

        Parameters:
        resourceType - The type of the resource that the external principal has access to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceType

        FindingSummaryV2.Builder resourceType​(ResourceType resourceType)

        The type of the resource that the external principal has access to.

        Parameters:
        resourceType - The type of the resource that the external principal has access to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceOwnerAccount

        FindingSummaryV2.Builder resourceOwnerAccount​(String resourceOwnerAccount)

        The Amazon Web Services account ID that owns the resource.

        Parameters:
        resourceOwnerAccount - The Amazon Web Services account ID that owns the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        FindingSummaryV2.Builder updatedAt​(Instant updatedAt)

        The time at which the finding was most recently updated.

        Parameters:
        updatedAt - The time at which the finding was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingType

        FindingSummaryV2.Builder findingType​(String findingType)

        The type of the external access or unused access finding.

        Parameters:
        findingType - The type of the external access or unused access finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingType, FindingType
      • findingType

        FindingSummaryV2.Builder findingType​(FindingType findingType)

        The type of the external access or unused access finding.

        Parameters:
        findingType - The type of the external access or unused access finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingType, FindingType