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 Details

    • 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

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

      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

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

      Cost for the application.

      This is a convenience method that creates an instance of the Cost.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).

      Parameters:
      cost - a consumer that will call methods on Cost.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

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

      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

      Resiliency policy of an application.

      This is a convenience method that creates an instance of the ResiliencyPolicy.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).

      Parameters:
      policy - a consumer that will call methods on ResiliencyPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ResiliencyScore.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).

      Parameters:
      resiliencyScore - a consumer that will call methods on ResiliencyScore.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ResourceErrorsDetails.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).

      Parameters:
      resourceErrorsDetails - a consumer that will call methods on ResourceErrorsDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.