Interface AppAssessmentSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AppAssessmentSummary.Builder,AppAssessmentSummary>,SdkBuilder<AppAssessmentSummary.Builder,AppAssessmentSummary>,SdkPojo
- Enclosing class:
- AppAssessmentSummary
public static interface AppAssessmentSummary.Builder extends SdkPojo, CopyableBuilder<AppAssessmentSummary.Builder,AppAssessmentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AppAssessmentSummary.BuilderappArn(String appArn)Amazon Resource Name (ARN) of the Resilience Hub application.AppAssessmentSummary.BuilderappVersion(String appVersion)Version of an application.AppAssessmentSummary.BuilderassessmentArn(String assessmentArn)Amazon Resource Name (ARN) of the assessment.AppAssessmentSummary.BuilderassessmentName(String assessmentName)Name of the assessment.AppAssessmentSummary.BuilderassessmentStatus(String assessmentStatus)Current status of the assessment for the resiliency policy.AppAssessmentSummary.BuilderassessmentStatus(AssessmentStatus assessmentStatus)Current status of the assessment for the resiliency policy.AppAssessmentSummary.BuildercomplianceStatus(String complianceStatus)TCurrent status of compliance for the resiliency policy.AppAssessmentSummary.BuildercomplianceStatus(ComplianceStatus complianceStatus)TCurrent status of compliance for the resiliency policy.default AppAssessmentSummary.Buildercost(Consumer<Cost.Builder> cost)Cost for an application.AppAssessmentSummary.Buildercost(Cost cost)Cost for an application.AppAssessmentSummary.BuilderdriftStatus(String driftStatus)Indicates if compliance drifts (deviations) were detected while running an assessment for your application.AppAssessmentSummary.BuilderdriftStatus(DriftStatus driftStatus)Indicates if compliance drifts (deviations) were detected while running an assessment for your application.AppAssessmentSummary.BuilderendTime(Instant endTime)End time for the action.AppAssessmentSummary.Builderinvoker(String invoker)Entity that invoked the assessment.AppAssessmentSummary.Builderinvoker(AssessmentInvoker invoker)Entity that invoked the assessment.AppAssessmentSummary.Buildermessage(String message)Message from the assessment run.AppAssessmentSummary.BuilderresiliencyScore(Double resiliencyScore)Current resiliency score for the application.AppAssessmentSummary.BuilderstartTime(Instant startTime)Starting time for the action.AppAssessmentSummary.BuilderversionName(String versionName)Name of an application version.-
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
AppAssessmentSummary.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
AppAssessmentSummary.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
AppAssessmentSummary.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
AppAssessmentSummary.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
AppAssessmentSummary.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
AppAssessmentSummary.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
-
complianceStatus
AppAssessmentSummary.Builder complianceStatus(String complianceStatus)
TCurrent status of compliance for the resiliency policy.
- Parameters:
complianceStatus- TCurrent status of 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
AppAssessmentSummary.Builder complianceStatus(ComplianceStatus complianceStatus)
TCurrent status of compliance for the resiliency policy.
- Parameters:
complianceStatus- TCurrent status of 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
AppAssessmentSummary.Builder cost(Cost cost)
Cost for an application.
- Parameters:
cost- Cost for an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cost
default AppAssessmentSummary.Builder cost(Consumer<Cost.Builder> cost)
Cost for an 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
AppAssessmentSummary.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
AppAssessmentSummary.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
AppAssessmentSummary.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
AppAssessmentSummary.Builder invoker(String invoker)
Entity that invoked the assessment.
- Parameters:
invoker- 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
AppAssessmentSummary.Builder invoker(AssessmentInvoker invoker)
Entity that invoked the assessment.
- Parameters:
invoker- 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
AppAssessmentSummary.Builder message(String message)
Message from the assessment run.
- Parameters:
message- Message from the assessment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyScore
AppAssessmentSummary.Builder resiliencyScore(Double resiliencyScore)
Current resiliency score for the application.
- Parameters:
resiliencyScore- Current resiliency score for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
AppAssessmentSummary.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.
-
versionName
AppAssessmentSummary.Builder versionName(String versionName)
Name of an application version.
- Parameters:
versionName- Name of an application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-