Interface FindingSummaryV2.Builder

  • Method Details

    • 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

      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

      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

      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:
    • 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.
    • status

      The status of the finding.

      Parameters:
      status - The status of the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the finding.

      Parameters:
      status - The status of the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 access finding. For external access analyzers, the type is ExternalAccess. For unused access analyzers, the type can be UnusedIAMRole, UnusedIAMUserAccessKey, UnusedIAMUserPassword, or UnusedPermission. For internal access analyzers, the type is InternalAccess.

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

      FindingSummaryV2.Builder findingType(FindingType findingType)

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

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