Class BatchGetFindingsError
- java.lang.Object
-
- software.amazon.awssdk.services.codegurusecurity.model.BatchGetFindingsError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchGetFindingsError.Builder,BatchGetFindingsError>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchGetFindingsError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchGetFindingsError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorCodeerrorCode()A code associated with the type of error.StringerrorCodeAsString()A code associated with the type of error.StringfindingId()The finding ID of the finding that was not fetched.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()Describes the error.StringscanName()The name of the scan that generated the finding.List<SdkField<?>>sdkFields()static Class<? extends BatchGetFindingsError.Builder>serializableBuilderClass()BatchGetFindingsError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
errorCode
public 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,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- A code associated with the type of error.
- See Also:
ErrorCode
-
errorCodeAsString
public 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,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- A code associated with the type of error.
- See Also:
ErrorCode
-
findingId
public final String findingId()
The finding ID of the finding that was not fetched.
- Returns:
- The finding ID of the finding that was not fetched.
-
message
public final String message()
Describes the error.
- Returns:
- Describes the error.
-
scanName
public final String scanName()
The name of the scan that generated the finding.
- Returns:
- The name of the scan that generated the finding.
-
toBuilder
public BatchGetFindingsError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchGetFindingsError.Builder,BatchGetFindingsError>
-
builder
public static BatchGetFindingsError.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchGetFindingsError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-