Class SbomValidationResultSummary
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.SbomValidationResultSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SbomValidationResultSummary.Builder,SbomValidationResultSummary>
@Generated("software.amazon.awssdk:codegen") public final class SbomValidationResultSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SbomValidationResultSummary.Builder,SbomValidationResultSummary>
A summary of the validation results for a specific software bill of materials (SBOM) attached to a software package version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSbomValidationResultSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SbomValidationResultSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)SbomValidationErrorCodeerrorCode()TheerrorCoderepresenting the validation failure error if the SBOM validation failed.StringerrorCodeAsString()TheerrorCoderepresenting the validation failure error if the SBOM validation failed.StringerrorMessage()TheerrorMessagerepresenting the validation failure error if the SBOM validation failed.StringfileName()The name of the SBOM file.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SbomValidationResultSummary.Builder>serializableBuilderClass()SbomValidationResultSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.SbomValidationResultvalidationResult()The end result of the SBOM validation.StringvalidationResultAsString()The end result of the SBOM validation.-
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
-
fileName
public final String fileName()
The name of the SBOM file.
- Returns:
- The name of the SBOM file.
-
validationResult
public final SbomValidationResult validationResult()
The end result of the SBOM validation.
If the service returns an enum value that is not available in the current SDK version,
validationResultwill returnSbomValidationResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalidationResultAsString().- Returns:
- The end result of the SBOM validation.
- See Also:
SbomValidationResult
-
validationResultAsString
public final String validationResultAsString()
The end result of the SBOM validation.
If the service returns an enum value that is not available in the current SDK version,
validationResultwill returnSbomValidationResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalidationResultAsString().- Returns:
- The end result of the SBOM validation.
- See Also:
SbomValidationResult
-
errorCode
public final SbomValidationErrorCode errorCode()
The
errorCoderepresenting the validation failure error if the SBOM validation failed.If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnSbomValidationErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The
errorCoderepresenting the validation failure error if the SBOM validation failed. - See Also:
SbomValidationErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The
errorCoderepresenting the validation failure error if the SBOM validation failed.If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnSbomValidationErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The
errorCoderepresenting the validation failure error if the SBOM validation failed. - See Also:
SbomValidationErrorCode
-
errorMessage
public final String errorMessage()
The
errorMessagerepresenting the validation failure error if the SBOM validation failed.- Returns:
- The
errorMessagerepresenting the validation failure error if the SBOM validation failed.
-
toBuilder
public SbomValidationResultSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SbomValidationResultSummary.Builder,SbomValidationResultSummary>
-
builder
public static SbomValidationResultSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SbomValidationResultSummary.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.
-
-