Class AppAssessmentSummary
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.AppAssessmentSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AppAssessmentSummary.Builder,AppAssessmentSummary>
@Generated("software.amazon.awssdk:codegen") public final class AppAssessmentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppAssessmentSummary.Builder,AppAssessmentSummary>
Defines an application assessment summary.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAppAssessmentSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappArn()Amazon Resource Name (ARN) of the Resilience Hub application.StringappVersion()Version of an application.StringassessmentArn()Amazon Resource Name (ARN) of the assessment.StringassessmentName()Name of the assessment.AssessmentStatusassessmentStatus()Current status of the assessment for the resiliency policy.StringassessmentStatusAsString()Current status of the assessment for the resiliency policy.static AppAssessmentSummary.Builderbuilder()ComplianceStatuscomplianceStatus()TCurrent status of compliance for the resiliency policy.StringcomplianceStatusAsString()TCurrent status of compliance for the resiliency policy.Costcost()Cost for an application.DriftStatusdriftStatus()Indicates if compliance drifts (deviations) were detected while running an assessment for your application.StringdriftStatusAsString()Indicates if compliance drifts (deviations) were detected while running an assessment for your application.InstantendTime()End time for the action.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AssessmentInvokerinvoker()Entity that invoked the assessment.StringinvokerAsString()Entity that invoked the assessment.Stringmessage()Message from the assessment run.DoubleresiliencyScore()Current resiliency score for the application.List<SdkField<?>>sdkFields()static Class<? extends AppAssessmentSummary.Builder>serializableBuilderClass()InstantstartTime()Starting time for the action.AppAssessmentSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionName()Name of an application version.-
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
-
appArn
public final String 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
public final String appVersion()
Version of an application.
- Returns:
- Version of an application.
-
assessmentArn
public final String 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
public final String assessmentName()
Name of the assessment.
- Returns:
- Name of the assessment.
-
assessmentStatus
public final AssessmentStatus 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,
assessmentStatuswill 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:
AssessmentStatus
-
assessmentStatusAsString
public final String 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,
assessmentStatuswill 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:
AssessmentStatus
-
complianceStatus
public final ComplianceStatus 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,
complianceStatuswill 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:
ComplianceStatus
-
complianceStatusAsString
public final String 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,
complianceStatuswill 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:
ComplianceStatus
-
cost
public final Cost cost()
Cost for an application.
- Returns:
- Cost for an application.
-
driftStatus
public final DriftStatus 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,
driftStatuswill 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:
DriftStatus
-
driftStatusAsString
public final String 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,
driftStatuswill 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:
DriftStatus
-
endTime
public final Instant endTime()
End time for the action.
- Returns:
- End time for the action.
-
invoker
public final AssessmentInvoker invoker()
Entity that invoked the assessment.
If the service returns an enum value that is not available in the current SDK version,
invokerwill returnAssessmentInvoker.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvokerAsString().- Returns:
- Entity that invoked the assessment.
- See Also:
AssessmentInvoker
-
invokerAsString
public final String invokerAsString()
Entity that invoked the assessment.
If the service returns an enum value that is not available in the current SDK version,
invokerwill returnAssessmentInvoker.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvokerAsString().- Returns:
- Entity that invoked the assessment.
- See Also:
AssessmentInvoker
-
message
public final String message()
Message from the assessment run.
- Returns:
- Message from the assessment run.
-
resiliencyScore
public final Double resiliencyScore()
Current resiliency score for the application.
- Returns:
- Current resiliency score for the application.
-
startTime
public final Instant startTime()
Starting time for the action.
- Returns:
- Starting time for the action.
-
versionName
public final String versionName()
Name of an application version.
- Returns:
- Name of an application version.
-
toBuilder
public AppAssessmentSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AppAssessmentSummary.Builder,AppAssessmentSummary>
-
builder
public static AppAssessmentSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AppAssessmentSummary.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.
-
-