Class GetFindingsReportStatusResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.inspector2.model.Inspector2Response
-
- software.amazon.awssdk.services.inspector2.model.GetFindingsReportStatusResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetFindingsReportStatusResponse extends Inspector2Response implements ToCopyableBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetFindingsReportStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetFindingsReportStatusResponse.Builderbuilder()Destinationdestination()The destination of the report.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ReportingErrorCodeerrorCode()The error code of the report.StringerrorCodeAsString()The error code of the report.StringerrorMessage()The error message of the report.FilterCriteriafilterCriteria()The filter criteria associated with the report.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreportId()The ID of the report.List<SdkField<?>>sdkFields()static Class<? extends GetFindingsReportStatusResponse.Builder>serializableBuilderClass()ExternalReportStatusstatus()The status of the report.StringstatusAsString()The status of the report.GetFindingsReportStatusResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.inspector2.model.Inspector2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
destination
public final Destination destination()
The destination of the report.
- Returns:
- The destination of the report.
-
errorCode
public final ReportingErrorCode errorCode()
The error code of the report.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnReportingErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code of the report.
- See Also:
ReportingErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The error code of the report.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnReportingErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code of the report.
- See Also:
ReportingErrorCode
-
errorMessage
public final String errorMessage()
The error message of the report.
- Returns:
- The error message of the report.
-
filterCriteria
public final FilterCriteria filterCriteria()
The filter criteria associated with the report.
- Returns:
- The filter criteria associated with the report.
-
reportId
public final String reportId()
The ID of the report.
- Returns:
- The ID of the report.
-
status
public final ExternalReportStatus status()
The status of the report.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnExternalReportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the report.
- See Also:
ExternalReportStatus
-
statusAsString
public final String statusAsString()
The status of the report.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnExternalReportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the report.
- See Also:
ExternalReportStatus
-
toBuilder
public GetFindingsReportStatusResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetFindingsReportStatusResponse.Builder,GetFindingsReportStatusResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetFindingsReportStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetFindingsReportStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-