@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 AWS account that the finding applies to.
|
Boolean |
archived()
Specifies whether the finding is archived.
|
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 the finding was created.
|
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 AWS partition that Amazon Macie created the finding in.
|
PolicyDetails |
policyDetails()
The details of a policy finding.
|
String |
region()
The AWS 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 the finding was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String accountId()
The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.
public Boolean archived()
Specifies whether the finding is archived.
public 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 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 ClassificationDetails classificationDetails()
The details of a sensitive data finding. This value is null for a policy finding.
public 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 new (unique) because they derive from individual classification jobs.
public Instant createdAt()
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
public String description()
The description of the finding.
public 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 String partition()
The AWS partition that Amazon Macie created the finding in.
public PolicyDetails policyDetails()
The details of a policy finding. This value is null for a sensitive data finding.
public String region()
The AWS Region that Amazon Macie created the finding in.
public ResourcesAffected resourcesAffected()
The resources that the finding applies to.
public 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 String schemaVersion()
The version of the schema that was used to define the data structures in the finding.
public Severity severity()
The severity level and score for the finding.
public String title()
The brief description of the finding.
public 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 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 Instant updatedAt()
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
public Finding.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Finding.Builder,Finding>public static Finding.Builder builder()
public static Class<? extends Finding.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.