Interface AnalyzedResource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AnalyzedResource.Builder,AnalyzedResource>, SdkBuilder<AnalyzedResource.Builder,AnalyzedResource>, SdkPojo
Enclosing class:
AnalyzedResource

public static interface AnalyzedResource.Builder extends SdkPojo, CopyableBuilder<AnalyzedResource.Builder,AnalyzedResource>
  • Method Details

    • resourceArn

      AnalyzedResource.Builder resourceArn(String resourceArn)

      The ARN of the resource that was analyzed.

      Parameters:
      resourceArn - The ARN of the resource that was analyzed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      AnalyzedResource.Builder resourceType(String resourceType)

      The type of the resource that was analyzed.

      Parameters:
      resourceType - The type of the resource that was analyzed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      AnalyzedResource.Builder resourceType(ResourceType resourceType)

      The type of the resource that was analyzed.

      Parameters:
      resourceType - The type of the resource that was analyzed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      AnalyzedResource.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.
    • analyzedAt

      AnalyzedResource.Builder analyzedAt(Instant analyzedAt)

      The time at which the resource was analyzed.

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

      AnalyzedResource.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.
    • isPublic

      AnalyzedResource.Builder isPublic(Boolean isPublic)

      Indicates whether the policy that generated the finding grants public access to the resource.

      Parameters:
      isPublic - Indicates whether the policy that generated the finding grants public access to the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The actions that an external principal is granted permission to use by the policy that generated the finding.

      Parameters:
      actions - The actions that an external principal is granted permission to use by the policy that generated the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      AnalyzedResource.Builder actions(String... actions)

      The actions that an external principal is granted permission to use by the policy that generated the finding.

      Parameters:
      actions - The actions that an external principal is granted permission to use by the policy that generated the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharedVia

      Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.

      Parameters:
      sharedVia - Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharedVia

      AnalyzedResource.Builder sharedVia(String... sharedVia)

      Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.

      Parameters:
      sharedVia - Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the finding generated from the analyzed resource.

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

      The current status of the finding generated from the analyzed resource.

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

      AnalyzedResource.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.
    • error

      An error message.

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