public static interface AppAssessment.Builder extends SdkPojo, CopyableBuilder<AppAssessment.Builder,AppAssessment>
| Modifier and Type | Method and Description |
|---|---|
AppAssessment.Builder |
appArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
AppAssessment.Builder |
appVersion(String appVersion)
Version of an application.
|
AppAssessment.Builder |
assessmentArn(String assessmentArn)
Amazon Resource Name (ARN) of the assessment.
|
AppAssessment.Builder |
assessmentName(String assessmentName)
Name of the assessment.
|
AppAssessment.Builder |
assessmentStatus(AssessmentStatus assessmentStatus)
Current status of the assessment for the resiliency policy.
|
AppAssessment.Builder |
assessmentStatus(String assessmentStatus)
Current status of the assessment for the resiliency policy.
|
AppAssessment.Builder |
compliance(Map<DisruptionType,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
|
AppAssessment.Builder |
complianceStatus(ComplianceStatus complianceStatus)
Current status of the compliance for the resiliency policy.
|
AppAssessment.Builder |
complianceStatus(String complianceStatus)
Current status of the compliance for the resiliency policy.
|
AppAssessment.Builder |
complianceWithStrings(Map<String,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
|
default AppAssessment.Builder |
cost(Consumer<Cost.Builder> cost)
Cost for the application.
|
AppAssessment.Builder |
cost(Cost cost)
Cost for the application.
|
AppAssessment.Builder |
driftStatus(DriftStatus driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
AppAssessment.Builder |
driftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
AppAssessment.Builder |
endTime(Instant endTime)
End time for the action.
|
AppAssessment.Builder |
invoker(AssessmentInvoker invoker)
The entity that invoked the assessment.
|
AppAssessment.Builder |
invoker(String invoker)
The entity that invoked the assessment.
|
AppAssessment.Builder |
message(String message)
Error or warning message from the assessment execution
|
default AppAssessment.Builder |
policy(Consumer<ResiliencyPolicy.Builder> policy)
Resiliency policy of an application.
|
AppAssessment.Builder |
policy(ResiliencyPolicy policy)
Resiliency policy of an application.
|
default AppAssessment.Builder |
resiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)
Current resiliency score for an application.
|
AppAssessment.Builder |
resiliencyScore(ResiliencyScore resiliencyScore)
Current resiliency score for an application.
|
default AppAssessment.Builder |
resourceErrorsDetails(Consumer<ResourceErrorsDetails.Builder> resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
|
AppAssessment.Builder |
resourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
|
AppAssessment.Builder |
startTime(Instant startTime)
Starting time for the action.
|
AppAssessment.Builder |
tags(Map<String,String> tags)
Tags assigned to the resource.
|
AppAssessment.Builder |
versionName(String versionName)
Version name of the published application.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppAssessment.Builder appArn(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.
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.AppAssessment.Builder appVersion(String appVersion)
Version of an application.
appVersion - Version of an application.AppAssessment.Builder assessmentArn(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.
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.AppAssessment.Builder assessmentName(String assessmentName)
Name of the assessment.
assessmentName - Name of the assessment.AppAssessment.Builder assessmentStatus(String assessmentStatus)
Current status of the assessment for the resiliency policy.
assessmentStatus - Current status of the assessment for the resiliency policy.AssessmentStatus,
AssessmentStatusAppAssessment.Builder assessmentStatus(AssessmentStatus assessmentStatus)
Current status of the assessment for the resiliency policy.
assessmentStatus - Current status of the assessment for the resiliency policy.AssessmentStatus,
AssessmentStatusAppAssessment.Builder complianceWithStrings(Map<String,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
compliance - Application compliance against the resiliency policy.AppAssessment.Builder compliance(Map<DisruptionType,DisruptionCompliance> compliance)
Application compliance against the resiliency policy.
compliance - Application compliance against the resiliency policy.AppAssessment.Builder complianceStatus(String complianceStatus)
Current status of the compliance for the resiliency policy.
complianceStatus - Current status of the compliance for the resiliency policy.ComplianceStatus,
ComplianceStatusAppAssessment.Builder complianceStatus(ComplianceStatus complianceStatus)
Current status of the compliance for the resiliency policy.
complianceStatus - Current status of the compliance for the resiliency policy.ComplianceStatus,
ComplianceStatusAppAssessment.Builder cost(Cost cost)
Cost for the application.
cost - Cost for the application.default AppAssessment.Builder cost(Consumer<Cost.Builder> cost)
Cost for the application.
This is a convenience method that creates an instance of theCost.Builder avoiding the need to create
one manually via Cost.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to cost(Cost).
cost - a consumer that will call methods on Cost.Buildercost(Cost)AppAssessment.Builder driftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus - Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.DriftStatus,
DriftStatusAppAssessment.Builder driftStatus(DriftStatus driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus - Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.DriftStatus,
DriftStatusAppAssessment.Builder endTime(Instant endTime)
End time for the action.
endTime - End time for the action.AppAssessment.Builder invoker(String invoker)
The entity that invoked the assessment.
invoker - The entity that invoked the assessment.AssessmentInvoker,
AssessmentInvokerAppAssessment.Builder invoker(AssessmentInvoker invoker)
The entity that invoked the assessment.
invoker - The entity that invoked the assessment.AssessmentInvoker,
AssessmentInvokerAppAssessment.Builder message(String message)
Error or warning message from the assessment execution
message - Error or warning message from the assessment executionAppAssessment.Builder policy(ResiliencyPolicy policy)
Resiliency policy of an application.
policy - Resiliency policy of an application.default AppAssessment.Builder policy(Consumer<ResiliencyPolicy.Builder> policy)
Resiliency policy of an application.
This is a convenience method that creates an instance of theResiliencyPolicy.Builder avoiding the
need to create one manually via ResiliencyPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policy(ResiliencyPolicy).
policy - a consumer that will call methods on ResiliencyPolicy.Builderpolicy(ResiliencyPolicy)AppAssessment.Builder resiliencyScore(ResiliencyScore resiliencyScore)
Current resiliency score for an application.
resiliencyScore - Current resiliency score for an application.default AppAssessment.Builder resiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)
Current resiliency score for an application.
This is a convenience method that creates an instance of theResiliencyScore.Builder avoiding the
need to create one manually via ResiliencyScore.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resiliencyScore(ResiliencyScore).
resiliencyScore - a consumer that will call methods on ResiliencyScore.BuilderresiliencyScore(ResiliencyScore)AppAssessment.Builder resourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)
A resource error object containing a list of errors retrieving an application's resources.
resourceErrorsDetails - A resource error object containing a list of errors retrieving an application's resources.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.Builder avoiding
the need to create one manually via ResourceErrorsDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to resourceErrorsDetails(ResourceErrorsDetails).
resourceErrorsDetails - a consumer that will call methods on ResourceErrorsDetails.BuilderresourceErrorsDetails(ResourceErrorsDetails)AppAssessment.Builder startTime(Instant startTime)
Starting time for the action.
startTime - Starting time for the action.AppAssessment.Builder tags(Map<String,String> 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.
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.AppAssessment.Builder versionName(String versionName)
Version name of the published application.
versionName - Version name of the published application.Copyright © 2023. All rights reserved.