Class GetSbomExportResponse
- 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.GetSbomExportResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSbomExportResponse.Builder,GetSbomExportResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSbomExportResponse extends Inspector2Response implements ToCopyableBuilder<GetSbomExportResponse.Builder,GetSbomExportResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSbomExportResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSbomExportResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ReportingErrorCodeerrorCode()An error code.StringerrorCodeAsString()An error code.StringerrorMessage()An error message.ResourceFilterCriteriafilterCriteria()Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.SbomReportFormatformat()The format of the software bill of materials (SBOM) report.StringformatAsString()The format of the software bill of materials (SBOM) report.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreportId()The report ID of the software bill of materials (SBOM) report.Destinations3Destination()Returns the value of the S3Destination property for this object.List<SdkField<?>>sdkFields()static Class<? extends GetSbomExportResponse.Builder>serializableBuilderClass()ExternalReportStatusstatus()The status of the software bill of materials (SBOM) report.StringstatusAsString()The status of the software bill of materials (SBOM) report.GetSbomExportResponse.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
-
errorCode
public final ReportingErrorCode errorCode()
An error code.
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:
- An error code.
- See Also:
ReportingErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
An error code.
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:
- An error code.
- See Also:
ReportingErrorCode
-
errorMessage
public final String errorMessage()
An error message.
- Returns:
- An error message.
-
filterCriteria
public final ResourceFilterCriteria filterCriteria()
Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.
- Returns:
- Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.
-
format
public final SbomReportFormat format()
The format of the software bill of materials (SBOM) report.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnSbomReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the software bill of materials (SBOM) report.
- See Also:
SbomReportFormat
-
formatAsString
public final String formatAsString()
The format of the software bill of materials (SBOM) report.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnSbomReportFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the software bill of materials (SBOM) report.
- See Also:
SbomReportFormat
-
reportId
public final String reportId()
The report ID of the software bill of materials (SBOM) report.
- Returns:
- The report ID of the software bill of materials (SBOM) report.
-
s3Destination
public final Destination s3Destination()
Returns the value of the S3Destination property for this object.- Returns:
- The value of the S3Destination property for this object.
-
status
public final ExternalReportStatus status()
The status of the software bill of materials (SBOM) 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 software bill of materials (SBOM) report.
- See Also:
ExternalReportStatus
-
statusAsString
public final String statusAsString()
The status of the software bill of materials (SBOM) 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 software bill of materials (SBOM) report.
- See Also:
ExternalReportStatus
-
toBuilder
public GetSbomExportResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSbomExportResponse.Builder,GetSbomExportResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSbomExportResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSbomExportResponse.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
-
-