Interface GetFindingV2Response.Builder

    • Method Detail

      • analyzedAt

        GetFindingV2Response.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

        GetFindingV2Response.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

        GetFindingV2Response.Builder error​(String error)

        An error.

        Parameters:
        error - An error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        GetFindingV2Response.Builder id​(String id)

        The ID of the finding to retrieve.

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

        GetFindingV2Response.Builder nextToken​(String nextToken)

        A token used for pagination of results returned.

        Parameters:
        nextToken - A token used for pagination of results returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        GetFindingV2Response.Builder resource​(String resource)

        The resource that generated the finding.

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

        GetFindingV2Response.Builder resourceType​(String resourceType)

        The type of the resource identified in the finding.

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

        GetFindingV2Response.Builder resourceType​(ResourceType resourceType)

        The type of the resource identified in the finding.

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

        GetFindingV2Response.Builder resourceOwnerAccount​(String resourceOwnerAccount)

        Tye Amazon Web Services account ID that owns the resource.

        Parameters:
        resourceOwnerAccount - Tye 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

        GetFindingV2Response.Builder updatedAt​(Instant updatedAt)

        The time at which the finding was updated.

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

        GetFindingV2Response.Builder findingDetails​(Collection<FindingDetails> findingDetails)

        A localized message that explains the finding and provides guidance on how to address it.

        Parameters:
        findingDetails - A localized message that explains the finding and provides guidance on how to address it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingDetails

        GetFindingV2Response.Builder findingDetails​(FindingDetails... findingDetails)

        A localized message that explains the finding and provides guidance on how to address it.

        Parameters:
        findingDetails - A localized message that explains the finding and provides guidance on how to address it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingType

        GetFindingV2Response.Builder findingType​(String findingType)

        The type of the finding. For external access analyzers, the type is ExternalAccess. For unused access analyzers, the type can be UnusedIAMRole, UnusedIAMUserAccessKey, UnusedIAMUserPassword, or UnusedPermission.

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

        GetFindingV2Response.Builder findingType​(FindingType findingType)

        The type of the finding. For external access analyzers, the type is ExternalAccess. For unused access analyzers, the type can be UnusedIAMRole, UnusedIAMUserAccessKey, UnusedIAMUserPassword, or UnusedPermission.

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