Class AppAssessmentSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AppAssessmentSummary.Builder,
AppAssessmentSummary>
Defines an application assessment summary.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
appArn()
Amazon Resource Name (ARN) of the Resilience Hub application.final String
Version of an application.final String
Amazon Resource Name (ARN) of the assessment.final String
Name of the assessment.final AssessmentStatus
Current status of the assessment for the resiliency policy.final String
Current status of the assessment for the resiliency policy.static AppAssessmentSummary.Builder
builder()
final ComplianceStatus
TCurrent status of compliance for the resiliency policy.final String
TCurrent status of compliance for the resiliency policy.final Cost
cost()
Cost for an application.final DriftStatus
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.final String
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.final Instant
endTime()
End time for the action.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final AssessmentInvoker
invoker()
Entity that invoked the assessment.final String
Entity that invoked the assessment.final String
message()
Message from the assessment run.final Double
Current resiliency score for the application.static Class
<? extends AppAssessmentSummary.Builder> final Instant
Starting time for the action.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
Name of an application version.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
appArn
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
-
appVersion
Version of an application.
- Returns:
- Version of an application.
-
assessmentArn
Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
-
assessmentName
Name of the assessment.
- Returns:
- Name of the assessment.
-
assessmentStatus
Current status of the assessment for the resiliency policy.
If the service returns an enum value that is not available in the current SDK version,
assessmentStatus
will returnAssessmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassessmentStatusAsString()
.- Returns:
- Current status of the assessment for the resiliency policy.
- See Also:
-
assessmentStatusAsString
Current status of the assessment for the resiliency policy.
If the service returns an enum value that is not available in the current SDK version,
assessmentStatus
will returnAssessmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassessmentStatusAsString()
.- Returns:
- Current status of the assessment for the resiliency policy.
- See Also:
-
complianceStatus
TCurrent status of compliance for the resiliency policy.
If the service returns an enum value that is not available in the current SDK version,
complianceStatus
will returnComplianceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcomplianceStatusAsString()
.- Returns:
- TCurrent status of compliance for the resiliency policy.
- See Also:
-
complianceStatusAsString
TCurrent status of compliance for the resiliency policy.
If the service returns an enum value that is not available in the current SDK version,
complianceStatus
will returnComplianceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcomplianceStatusAsString()
.- Returns:
- TCurrent status of compliance for the resiliency policy.
- See Also:
-
cost
Cost for an application.
- Returns:
- Cost for an application.
-
driftStatus
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
If the service returns an enum value that is not available in the current SDK version,
driftStatus
will returnDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdriftStatusAsString()
.- Returns:
- Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- See Also:
-
driftStatusAsString
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
If the service returns an enum value that is not available in the current SDK version,
driftStatus
will returnDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdriftStatusAsString()
.- Returns:
- Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- See Also:
-
endTime
End time for the action.
- Returns:
- End time for the action.
-
invoker
Entity that invoked the assessment.
If the service returns an enum value that is not available in the current SDK version,
invoker
will returnAssessmentInvoker.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvokerAsString()
.- Returns:
- Entity that invoked the assessment.
- See Also:
-
invokerAsString
Entity that invoked the assessment.
If the service returns an enum value that is not available in the current SDK version,
invoker
will returnAssessmentInvoker.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvokerAsString()
.- Returns:
- Entity that invoked the assessment.
- See Also:
-
message
Message from the assessment run.
- Returns:
- Message from the assessment run.
-
resiliencyScore
Current resiliency score for the application.
- Returns:
- Current resiliency score for the application.
-
startTime
Starting time for the action.
- Returns:
- Starting time for the action.
-
versionName
Name of an application version.
- Returns:
- Name of an application version.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AppAssessmentSummary.Builder,
AppAssessmentSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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
-
sdkFields
-