@Generated(value="software.amazon.awssdk:codegen") public final class BatchGetFindingsError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetFindingsError.Builder,BatchGetFindingsError>
Contains information about the error that caused a finding to fail to be retrieved.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchGetFindingsError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchGetFindingsError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorCode |
errorCode()
A code associated with the type of error.
|
String |
errorCodeAsString()
A code associated with the type of error.
|
String |
findingId()
The finding ID of the finding that was not fetched.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
Describes the error.
|
String |
scanName()
The name of the scan that generated the finding.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchGetFindingsError.Builder> |
serializableBuilderClass() |
BatchGetFindingsError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ErrorCode errorCode()
A code associated with the type of error.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorCodeAsString()
A code associated with the type of error.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String findingId()
The finding ID of the finding that was not fetched.
public final String message()
Describes the error.
public final String scanName()
The name of the scan that generated the finding.
public BatchGetFindingsError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchGetFindingsError.Builder,BatchGetFindingsError>public static BatchGetFindingsError.Builder builder()
public static Class<? extends BatchGetFindingsError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.