Interface AppAssessment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppAssessment.Builder,,AppAssessment> SdkBuilder<AppAssessment.Builder,,AppAssessment> SdkPojo
- Enclosing class:
AppAssessment
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.appVersion(String appVersion) Version of an application.assessmentArn(String assessmentArn) Amazon Resource Name (ARN) of the assessment.assessmentName(String assessmentName) Name of the assessment.assessmentStatus(String assessmentStatus) Current status of the assessment for the resiliency policy.assessmentStatus(AssessmentStatus assessmentStatus) Current status of the assessment for the resiliency policy.compliance(Map<DisruptionType, DisruptionCompliance> compliance) Application compliance against the resiliency policy.complianceStatus(String complianceStatus) Current status of the compliance for the resiliency policy.complianceStatus(ComplianceStatus complianceStatus) Current status of the compliance for the resiliency policy.complianceWithStrings(Map<String, DisruptionCompliance> compliance) Application compliance against the resiliency policy.default AppAssessment.Buildercost(Consumer<Cost.Builder> cost) Cost for the application.Cost for the application.driftStatus(String driftStatus) Indicates if compliance drifts (deviations) were detected while running an assessment for your application.driftStatus(DriftStatus driftStatus) Indicates if compliance drifts (deviations) were detected while running an assessment for your application.End time for the action.The entity that invoked the assessment.invoker(AssessmentInvoker invoker) The entity that invoked the assessment.Error or warning message from the assessment executiondefault AppAssessment.Builderpolicy(Consumer<ResiliencyPolicy.Builder> policy) Resiliency policy of an application.policy(ResiliencyPolicy policy) Resiliency policy of an application.default AppAssessment.BuilderresiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore) Current resiliency score for an application.resiliencyScore(ResiliencyScore resiliencyScore) Current resiliency score for an application.default AppAssessment.BuilderresourceErrorsDetails(Consumer<ResourceErrorsDetails.Builder> resourceErrorsDetails) A resource error object containing a list of errors retrieving an application's resources.resourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails) A resource error object containing a list of errors retrieving an application's resources.Starting time for the action.default AppAssessment.Buildersummary(Consumer<AssessmentSummary.Builder> summary) Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.summary(AssessmentSummary summary) Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.Tags assigned to the resource.versionName(String versionName) Version name of the published application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
appVersion
Version of an application.
- Parameters:
appVersion- Version of an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentName
Name of the assessment.
- Parameters:
assessmentName- Name of the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentStatus
Current status of the assessment for the resiliency policy.
- Parameters:
assessmentStatus- Current status of the assessment for the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentStatus
Current status of the assessment for the resiliency policy.
- Parameters:
assessmentStatus- Current status of the assessment for the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceWithStrings
Application compliance against the resiliency policy.
- Parameters:
compliance- Application compliance against the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
Application compliance against the resiliency policy.
- Parameters:
compliance- Application compliance against the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceStatus
Current status of the compliance for the resiliency policy.
- Parameters:
complianceStatus- Current status of the compliance for the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceStatus
Current status of the compliance for the resiliency policy.
- Parameters:
complianceStatus- Current status of the compliance for the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cost
Cost for the application.
- Parameters:
cost- Cost for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cost
Cost for the application.
This is a convenience method that creates an instance of theCost.Builderavoiding the need to create one manually viaCost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocost(Cost).- Parameters:
cost- a consumer that will call methods onCost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
driftStatus
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- Parameters:
driftStatus- Indicates if compliance drifts (deviations) were detected while running an assessment for your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
driftStatus
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- Parameters:
driftStatus- Indicates if compliance drifts (deviations) were detected while running an assessment for your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTime
End time for the action.
- Parameters:
endTime- End time for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoker
The entity that invoked the assessment.
- Parameters:
invoker- The entity that invoked the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoker
The entity that invoked the assessment.
- Parameters:
invoker- The entity that invoked the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Error or warning message from the assessment execution
- Parameters:
message- Error or warning message from the assessment execution- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
Resiliency policy of an application.
- Parameters:
policy- Resiliency policy of an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
Resiliency policy of an application.
This is a convenience method that creates an instance of theResiliencyPolicy.Builderavoiding the need to create one manually viaResiliencyPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicy(ResiliencyPolicy).- Parameters:
policy- a consumer that will call methods onResiliencyPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resiliencyScore
Current resiliency score for an application.
- Parameters:
resiliencyScore- Current resiliency score for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyScore
Current resiliency score for an application.
This is a convenience method that creates an instance of theResiliencyScore.Builderavoiding the need to create one manually viaResiliencyScore.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresiliencyScore(ResiliencyScore).- Parameters:
resiliencyScore- a consumer that will call methods onResiliencyScore.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceErrorsDetails
A resource error object containing a list of errors retrieving an application's resources.
- Parameters:
resourceErrorsDetails- A resource error object containing a list of errors retrieving an application's resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceErrorsDetails
default AppAssessment.Builder resourceErrorsDetails(Consumer<ResourceErrorsDetails.Builder> resourceErrorsDetails) A resource error object containing a list of errors retrieving an application's resources.
This is a convenience method that creates an instance of theResourceErrorsDetails.Builderavoiding the need to create one manually viaResourceErrorsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceErrorsDetails(ResourceErrorsDetails).- Parameters:
resourceErrorsDetails- a consumer that will call methods onResourceErrorsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
Starting time for the action.
- Parameters:
startTime- Starting time for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.
This property is available only in the US East (N. Virginia) Region.
- Parameters:
summary- Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.This property is available only in the US East (N. Virginia) Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
Indicates the AI-generated summary for the Resilience Hub assessment, providing a concise overview that highlights the top risks and recommendations.
This is a convenience method that creates an instance of theThis property is available only in the US East (N. Virginia) Region.
AssessmentSummary.Builderavoiding the need to create one manually viaAssessmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(AssessmentSummary).- Parameters:
summary- a consumer that will call methods onAssessmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
- Parameters:
tags- Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
Version name of the published application.
- Parameters:
versionName- Version name of the published application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-