public static interface AppAssessment.Builder extends SdkPojo, CopyableBuilder<AppAssessment.Builder,AppAssessment>
| Modifier and Type | Method and Description |
|---|---|
AppAssessment.Builder |
appArn(String appArn)
The Amazon Resource Name (ARN) of the Resilience Hub application.
|
AppAssessment.Builder |
appVersion(String appVersion)
The version of the application.
|
AppAssessment.Builder |
assessmentArn(String assessmentArn)
The Amazon Resource Name (ARN) of the assessment.
|
AppAssessment.Builder |
assessmentName(String assessmentName)
The name of the assessment.
|
AppAssessment.Builder |
assessmentStatus(AssessmentStatus assessmentStatus)
The current status of the assessment for the resiliency policy.
|
AppAssessment.Builder |
assessmentStatus(String assessmentStatus)
The current status of the assessment for the resiliency policy.
|
AppAssessment.Builder |
compliance(Map<DisruptionType,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
|
AppAssessment.Builder |
complianceStatus(ComplianceStatus complianceStatus)
The current status of the compliance for the resiliency policy.
|
AppAssessment.Builder |
complianceStatus(String complianceStatus)
The current status of the compliance for the resiliency policy.
|
AppAssessment.Builder |
complianceWithStrings(Map<String,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
|
default AppAssessment.Builder |
cost(Consumer<Cost.Builder> cost)
The cost for the application.
|
AppAssessment.Builder |
cost(Cost cost)
The cost for the application.
|
AppAssessment.Builder |
endTime(Instant endTime)
The 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)
The resiliency policy.
|
AppAssessment.Builder |
policy(ResiliencyPolicy policy)
The resiliency policy.
|
default AppAssessment.Builder |
resiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)
The current resiliency score for the application.
|
AppAssessment.Builder |
resiliencyScore(ResiliencyScore resiliencyScore)
The current resiliency score for the 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)
The starting time for the action.
|
AppAssessment.Builder |
tags(Map<String,String> tags)
The tags assigned to the resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppAssessment.Builder appArn(String appArn)
The 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 AWS General Reference guide.
appArn - The 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 AWS General Reference guide.AppAssessment.Builder appVersion(String appVersion)
The version of the application.
appVersion - The version of the application.AppAssessment.Builder assessmentArn(String assessmentArn)
The 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 AWS General Reference guide.
assessmentArn - The 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 AWS General Reference guide.AppAssessment.Builder assessmentName(String assessmentName)
The name of the assessment.
assessmentName - The name of the assessment.AppAssessment.Builder assessmentStatus(String assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus - The current status of the assessment for the resiliency policy.AssessmentStatus,
AssessmentStatusAppAssessment.Builder assessmentStatus(AssessmentStatus assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus - The current status of the assessment for the resiliency policy.AssessmentStatus,
AssessmentStatusAppAssessment.Builder complianceWithStrings(Map<String,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
compliance - The application compliance against the resiliency policy.AppAssessment.Builder compliance(Map<DisruptionType,DisruptionCompliance> compliance)
The application compliance against the resiliency policy.
compliance - The application compliance against the resiliency policy.AppAssessment.Builder complianceStatus(String complianceStatus)
The current status of the compliance for the resiliency policy.
complianceStatus - The current status of the compliance for the resiliency policy.ComplianceStatus,
ComplianceStatusAppAssessment.Builder complianceStatus(ComplianceStatus complianceStatus)
The current status of the compliance for the resiliency policy.
complianceStatus - The current status of the compliance for the resiliency policy.ComplianceStatus,
ComplianceStatusAppAssessment.Builder cost(Cost cost)
The cost for the application.
cost - The cost for the application.default AppAssessment.Builder cost(Consumer<Cost.Builder> cost)
The 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 endTime(Instant endTime)
The end time for the action.
endTime - The 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)
The resiliency policy.
policy - The resiliency policy.default AppAssessment.Builder policy(Consumer<ResiliencyPolicy.Builder> policy)
The resiliency policy.
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)
The current resiliency score for the application.
resiliencyScore - The current resiliency score for the application.default AppAssessment.Builder resiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)
The current resiliency score for the 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)
The starting time for the action.
startTime - The starting time for the action.AppAssessment.Builder tags(Map<String,String> tags)
The 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 - The 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.Copyright © 2023. All rights reserved.