Interface AppAssessment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AppAssessment.Builder,AppAssessment>,SdkBuilder<AppAssessment.Builder,AppAssessment>,SdkPojo
- Enclosing class:
- AppAssessment
public static interface AppAssessment.Builder extends SdkPojo, CopyableBuilder<AppAssessment.Builder,AppAssessment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AppAssessment.BuilderappArn(String appArn)Amazon Resource Name (ARN) of the Resilience Hub application.AppAssessment.BuilderappVersion(String appVersion)Version of an application.AppAssessment.BuilderassessmentArn(String assessmentArn)Amazon Resource Name (ARN) of the assessment.AppAssessment.BuilderassessmentName(String assessmentName)Name of the assessment.AppAssessment.BuilderassessmentStatus(String assessmentStatus)Current status of the assessment for the resiliency policy.AppAssessment.BuilderassessmentStatus(AssessmentStatus assessmentStatus)Current status of the assessment for the resiliency policy.AppAssessment.Buildercompliance(Map<DisruptionType,DisruptionCompliance> compliance)Application compliance against the resiliency policy.AppAssessment.BuildercomplianceStatus(String complianceStatus)Current status of the compliance for the resiliency policy.AppAssessment.BuildercomplianceStatus(ComplianceStatus complianceStatus)Current status of the compliance for the resiliency policy.AppAssessment.BuildercomplianceWithStrings(Map<String,DisruptionCompliance> compliance)Application compliance against the resiliency policy.default AppAssessment.Buildercost(Consumer<Cost.Builder> cost)Cost for the application.AppAssessment.Buildercost(Cost cost)Cost for the application.AppAssessment.BuilderdriftStatus(String driftStatus)Indicates if compliance drifts (deviations) were detected while running an assessment for your application.AppAssessment.BuilderdriftStatus(DriftStatus driftStatus)Indicates if compliance drifts (deviations) were detected while running an assessment for your application.AppAssessment.BuilderendTime(Instant endTime)End time for the action.AppAssessment.Builderinvoker(String invoker)The entity that invoked the assessment.AppAssessment.Builderinvoker(AssessmentInvoker invoker)The entity that invoked the assessment.AppAssessment.Buildermessage(String message)Error or warning message from the assessment executiondefault AppAssessment.Builderpolicy(Consumer<ResiliencyPolicy.Builder> policy)Resiliency policy of an application.AppAssessment.Builderpolicy(ResiliencyPolicy policy)Resiliency policy of an application.default AppAssessment.BuilderresiliencyScore(Consumer<ResiliencyScore.Builder> resiliencyScore)Current resiliency score for an application.AppAssessment.BuilderresiliencyScore(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.AppAssessment.BuilderresourceErrorsDetails(ResourceErrorsDetails resourceErrorsDetails)A resource error object containing a list of errors retrieving an application's resources.AppAssessment.BuilderstartTime(Instant startTime)Starting time for the action.default AppAssessment.Buildersummary(Consumer<AssessmentSummary.Builder> summary)Indicates a concise summary that provides an overview of the Resilience Hub assessment.AppAssessment.Buildersummary(AssessmentSummary summary)Indicates a concise summary that provides an overview of the Resilience Hub assessment.AppAssessment.Buildertags(Map<String,String> tags)Tags assigned to the resource.AppAssessment.BuilderversionName(String versionName)Version name of the published application.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appArn
AppAssessment.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.- 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
AppAssessment.Builder appVersion(String 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
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.- 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
AppAssessment.Builder assessmentName(String 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
AppAssessment.Builder assessmentStatus(String 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,AssessmentStatus
-
assessmentStatus
AppAssessment.Builder assessmentStatus(AssessmentStatus 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,AssessmentStatus
-
complianceWithStrings
AppAssessment.Builder complianceWithStrings(Map<String,DisruptionCompliance> 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.
-
compliance
AppAssessment.Builder compliance(Map<DisruptionType,DisruptionCompliance> 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
AppAssessment.Builder complianceStatus(String 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,ComplianceStatus
-
complianceStatus
AppAssessment.Builder complianceStatus(ComplianceStatus 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,ComplianceStatus
-
cost
AppAssessment.Builder cost(Cost 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
default AppAssessment.Builder cost(Consumer<Cost.Builder> 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:
cost(Cost)
-
driftStatus
AppAssessment.Builder driftStatus(String 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,DriftStatus
-
driftStatus
AppAssessment.Builder driftStatus(DriftStatus 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,DriftStatus
-
endTime
AppAssessment.Builder endTime(Instant 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
AppAssessment.Builder invoker(String 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:
AssessmentInvoker,AssessmentInvoker
-
invoker
AppAssessment.Builder invoker(AssessmentInvoker 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:
AssessmentInvoker,AssessmentInvoker
-
message
AppAssessment.Builder message(String 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
AppAssessment.Builder policy(ResiliencyPolicy 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
default AppAssessment.Builder policy(Consumer<ResiliencyPolicy.Builder> 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:
policy(ResiliencyPolicy)
-
resiliencyScore
AppAssessment.Builder resiliencyScore(ResiliencyScore 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
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.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:
resiliencyScore(ResiliencyScore)
-
resourceErrorsDetails
AppAssessment.Builder resourceErrorsDetails(ResourceErrorsDetails 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:
resourceErrorsDetails(ResourceErrorsDetails)
-
startTime
AppAssessment.Builder startTime(Instant 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
AppAssessment.Builder summary(AssessmentSummary summary)
Indicates a concise summary that provides an overview of the Resilience Hub assessment.
- Parameters:
summary- Indicates a concise summary that provides an overview of the Resilience Hub assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default AppAssessment.Builder summary(Consumer<AssessmentSummary.Builder> summary)
Indicates a concise summary that provides an overview of the Resilience Hub assessment.
This is a convenience method that creates an instance of theAssessmentSummary.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:
summary(AssessmentSummary)
-
tags
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.
- 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
AppAssessment.Builder versionName(String 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.
-
-