@Generated(value="software.amazon.awssdk:codegen") public final class Finding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Finding.Builder,Finding>
Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.
Modifier and Type | Class and Description |
---|---|
static interface |
Finding.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN that specifies the finding.
|
AssetAttributes |
assetAttributes()
A collection of attributes of the host from which the finding is generated.
|
AssetType |
assetType()
The type of the host from which the finding is generated.
|
String |
assetTypeAsString()
The type of the host from which the finding is generated.
|
List<Attribute> |
attributes()
The system-defined attributes for the finding.
|
static Finding.Builder |
builder() |
Integer |
confidence()
This data element is currently not used.
|
Instant |
createdAt()
The time when the finding was generated.
|
String |
description()
The description of the finding.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the finding.
|
Boolean |
indicatorOfCompromise()
This data element is currently not used.
|
Double |
numericSeverity()
The numeric value of the finding severity.
|
String |
recommendation()
The recommendation for the finding.
|
Integer |
schemaVersion()
The schema version of this data type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Finding.Builder> |
serializableBuilderClass() |
String |
service()
The data element is set to "Inspector".
|
InspectorServiceAttributes |
serviceAttributes()
This data type is used in the Finding data type.
|
Severity |
severity()
The finding severity.
|
String |
severityAsString()
The finding severity.
|
String |
title()
The name of the finding.
|
Finding.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
updatedAt()
The time when AddAttributesToFindings is called.
|
List<Attribute> |
userAttributes()
The user-defined attributes that are assigned to the finding.
|
copy
public String arn()
The ARN that specifies the finding.
public Integer schemaVersion()
The schema version of this data type.
public String service()
The data element is set to "Inspector".
public InspectorServiceAttributes serviceAttributes()
This data type is used in the Finding data type.
public AssetType assetType()
The type of the host from which the finding is generated.
If the service returns an enum value that is not available in the current SDK version, assetType
will
return AssetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
assetTypeAsString()
.
AssetType
public String assetTypeAsString()
The type of the host from which the finding is generated.
If the service returns an enum value that is not available in the current SDK version, assetType
will
return AssetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
assetTypeAsString()
.
AssetType
public AssetAttributes assetAttributes()
A collection of attributes of the host from which the finding is generated.
public String id()
The ID of the finding.
public String title()
The name of the finding.
public String description()
The description of the finding.
public String recommendation()
The recommendation for the finding.
public Severity severity()
The finding severity. Values can be set to High, Medium, Low, and Informational.
If the service returns an enum value that is not available in the current SDK version, severity
will
return Severity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
severityAsString()
.
Severity
public String severityAsString()
The finding severity. Values can be set to High, Medium, Low, and Informational.
If the service returns an enum value that is not available in the current SDK version, severity
will
return Severity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
severityAsString()
.
Severity
public Double numericSeverity()
The numeric value of the finding severity.
public Integer confidence()
This data element is currently not used.
public Boolean indicatorOfCompromise()
This data element is currently not used.
public List<Attribute> attributes()
The system-defined attributes for the finding.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Attribute> userAttributes()
The user-defined attributes that are assigned to the finding.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant createdAt()
The time when the finding was generated.
public Instant updatedAt()
The time when AddAttributesToFindings is called.
public Finding.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Finding.Builder,Finding>
public static Finding.Builder builder()
public static Class<? extends Finding.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.