Interface AppAssessment.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.