@Generated(value="software.amazon.awssdk:codegen") public final class Finding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Finding.Builder,Finding>
Provides the details of a finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Finding.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The unique identifier for the Amazon Web Services account that the finding applies to.
|
Boolean |
archived()
Specifies whether the finding is archived (suppressed).
|
static Finding.Builder |
builder() |
FindingCategory |
category()
The category of the finding.
|
String |
categoryAsString()
The category of the finding.
|
ClassificationDetails |
classificationDetails()
The details of a sensitive data finding.
|
Long |
count()
The total number of occurrences of the finding.
|
Instant |
createdAt()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
|
String |
description()
The description of the finding.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the finding.
|
String |
partition()
The Amazon Web Services partition that Amazon Macie created the finding in.
|
PolicyDetails |
policyDetails()
The details of a policy finding.
|
String |
region()
The Amazon Web Services Region that Amazon Macie created the finding in.
|
ResourcesAffected |
resourcesAffected()
The resources that the finding applies to.
|
Boolean |
sample()
Specifies whether the finding is a sample finding.
|
String |
schemaVersion()
The version of the schema that was used to define the data structures in the finding.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Finding.Builder> |
serializableBuilderClass() |
Severity |
severity()
The severity level and score for the finding.
|
String |
title()
The brief description of the finding.
|
Finding.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FindingType |
type()
The type of the finding.
|
String |
typeAsString()
The type of the finding.
|
Instant |
updatedAt()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.
public final Boolean archived()
Specifies whether the finding is archived (suppressed).
public final FindingCategory category()
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
If the service returns an enum value that is not available in the current SDK version, category will
return FindingCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
categoryAsString().
FindingCategorypublic final String categoryAsString()
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
If the service returns an enum value that is not available in the current SDK version, category will
return FindingCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
categoryAsString().
FindingCategorypublic final ClassificationDetails classificationDetails()
The details of a sensitive data finding. This value is null for a policy finding.
public final Long count()
The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.
public final Instant createdAt()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
public final String description()
The description of the finding.
public final String id()
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
public final String partition()
The Amazon Web Services partition that Amazon Macie created the finding in.
public final PolicyDetails policyDetails()
The details of a policy finding. This value is null for a sensitive data finding.
public final String region()
The Amazon Web Services Region that Amazon Macie created the finding in.
public final ResourcesAffected resourcesAffected()
The resources that the finding applies to.
public final Boolean sample()
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
public final String schemaVersion()
The version of the schema that was used to define the data structures in the finding.
public final Severity severity()
The severity level and score for the finding.
public final String title()
The brief description of the finding.
public final FindingType type()
The type of the finding.
If the service returns an enum value that is not available in the current SDK version, type will return
FindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FindingTypepublic final String typeAsString()
The type of the finding.
If the service returns an enum value that is not available in the current SDK version, type will return
FindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FindingTypepublic final Instant updatedAt()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.
public Finding.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Finding.Builder,Finding>public static Finding.Builder builder()
public static Class<? extends Finding.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.