Class AssessmentSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssessmentSummary.Builder,AssessmentSummary>
Contains summary information about a failure mode assessment.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AchievabilityThe achievability results from the assessment.final AssessmentCostThe cost of the assessment.final StringThe unique identifier of the assessment.final AssessmentStatusThe current status of the assessment.final StringThe current status of the assessment.final AssessmentStepThe current step of the assessment process.final StringThe current step of the assessment process.final IntegerThe number of billable assessment units consumed by the assessment.static AssessmentSummary.Builderbuilder()final InstantendedAt()The timestamp when the assessment ended.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final AssessmentErrorCodeThe error code if the assessment failed.final StringThe error code if the assessment failed.final StringA message describing the error if the assessment failed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AssessmentSummary.Builder> final StringReturns the value of the ServiceArn property for this object.final InstantThe timestamp when the assessment started.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe total number of findings generated by the assessment.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
assessmentId
The unique identifier of the assessment.
- Returns:
- The unique identifier of the assessment.
-
serviceArn
Returns the value of the ServiceArn property for this object.- Returns:
- The value of the ServiceArn property for this object.
-
assessmentStatus
The current status of the assessment.
If the service returns an enum value that is not available in the current SDK version,
assessmentStatuswill returnAssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassessmentStatusAsString().- Returns:
- The current status of the assessment.
- See Also:
-
assessmentStatusAsString
The current status of the assessment.
If the service returns an enum value that is not available in the current SDK version,
assessmentStatuswill returnAssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassessmentStatusAsString().- Returns:
- The current status of the assessment.
- See Also:
-
assessmentStep
The current step of the assessment process.
If the service returns an enum value that is not available in the current SDK version,
assessmentStepwill returnAssessmentStep.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassessmentStepAsString().- Returns:
- The current step of the assessment process.
- See Also:
-
assessmentStepAsString
The current step of the assessment process.
If the service returns an enum value that is not available in the current SDK version,
assessmentStepwill returnAssessmentStep.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassessmentStepAsString().- Returns:
- The current step of the assessment process.
- See Also:
-
totalFindings
The total number of findings generated by the assessment.
- Returns:
- The total number of findings generated by the assessment.
-
startedAt
The timestamp when the assessment started.
- Returns:
- The timestamp when the assessment started.
-
endedAt
The timestamp when the assessment ended.
- Returns:
- The timestamp when the assessment ended.
-
errorMessage
A message describing the error if the assessment failed.
- Returns:
- A message describing the error if the assessment failed.
-
errorCode
The error code if the assessment failed.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnAssessmentErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code if the assessment failed.
- See Also:
-
errorCodeAsString
The error code if the assessment failed.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnAssessmentErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code if the assessment failed.
- See Also:
-
assessmentCost
The cost of the assessment.
- Returns:
- The cost of the assessment.
-
billableAssessmentUnitCount
The number of billable assessment units consumed by the assessment.
- Returns:
- The number of billable assessment units consumed by the assessment.
-
achievability
The achievability results from the assessment.
- Returns:
- The achievability results from the assessment.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AssessmentSummary.Builder,AssessmentSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-