All Superinterfaces:
Buildable, CopyableBuilder<App.Builder,App>, SdkBuilder<App.Builder,App>, SdkPojo
Enclosing class:
App

public static interface App.Builder extends SdkPojo, CopyableBuilder<App.Builder,App>
  • Method Details

    • appArn

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

      App.Builder assessmentSchedule(String assessmentSchedule)

      Assessment execution schedule with 'Daily' or 'Disabled' values.

      Parameters:
      assessmentSchedule - Assessment execution schedule with 'Daily' or 'Disabled' values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assessmentSchedule

      App.Builder assessmentSchedule(AppAssessmentScheduleType assessmentSchedule)

      Assessment execution schedule with 'Daily' or 'Disabled' values.

      Parameters:
      assessmentSchedule - Assessment execution schedule with 'Daily' or 'Disabled' values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • complianceStatus

      App.Builder complianceStatus(String complianceStatus)

      Current status of compliance for the resiliency policy.

      Parameters:
      complianceStatus - Current 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

      App.Builder complianceStatus(AppComplianceStatusType complianceStatus)

      Current status of compliance for the resiliency policy.

      Parameters:
      complianceStatus - Current status of compliance for the resiliency policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      App.Builder creationTime(Instant creationTime)

      Date and time when the app was created.

      Parameters:
      creationTime - Date and time when the app was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      App.Builder description(String description)

      Optional description for an application.

      Parameters:
      description - Optional description for an application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • driftStatus

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

      App.Builder driftStatus(AppDriftStatusType 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:
    • eventSubscriptions

      App.Builder eventSubscriptions(Collection<EventSubscription> eventSubscriptions)

      The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

      Parameters:
      eventSubscriptions - The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventSubscriptions

      App.Builder eventSubscriptions(EventSubscription... eventSubscriptions)

      The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

      Parameters:
      eventSubscriptions - The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventSubscriptions

      App.Builder eventSubscriptions(Consumer<EventSubscription.Builder>... eventSubscriptions)

      The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

      This is a convenience method that creates an instance of the EventSubscription.Builder avoiding the need to create one manually via EventSubscription.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventSubscriptions(List<EventSubscription>).

      Parameters:
      eventSubscriptions - a consumer that will call methods on EventSubscription.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastAppComplianceEvaluationTime

      App.Builder lastAppComplianceEvaluationTime(Instant lastAppComplianceEvaluationTime)

      Date and time the most recent compliance evaluation.

      Parameters:
      lastAppComplianceEvaluationTime - Date and time the most recent compliance evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastDriftEvaluationTime

      App.Builder lastDriftEvaluationTime(Instant lastDriftEvaluationTime)

      Indicates the last time that a drift was evaluated.

      Parameters:
      lastDriftEvaluationTime - Indicates the last time that a drift was evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastResiliencyScoreEvaluationTime

      App.Builder lastResiliencyScoreEvaluationTime(Instant lastResiliencyScoreEvaluationTime)

      Date and time the most recent resiliency score evaluation.

      Parameters:
      lastResiliencyScoreEvaluationTime - Date and time the most recent resiliency score evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      App.Builder name(String name)

      Name for the application.

      Parameters:
      name - Name for the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissionModel

      App.Builder permissionModel(PermissionModel permissionModel)

      Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.

      Parameters:
      permissionModel - Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissionModel

      default App.Builder permissionModel(Consumer<PermissionModel.Builder> permissionModel)

      Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.

      This is a convenience method that creates an instance of the PermissionModel.Builder avoiding the need to create one manually via PermissionModel.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to permissionModel(PermissionModel).

      Parameters:
      permissionModel - a consumer that will call methods on PermissionModel.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyArn

      App.Builder policyArn(String policyArn)

      Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition :resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

      Parameters:
      policyArn - Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn: partition:resiliencehub:region:account:resiliency-policy/ policy-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.
    • resiliencyScore

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

      App.Builder rpoInSecs(Integer rpoInSecs)

      Recovery Point Objective (RPO) in seconds.

      Parameters:
      rpoInSecs - Recovery Point Objective (RPO) in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rtoInSecs

      App.Builder rtoInSecs(Integer rtoInSecs)

      Recovery Time Objective (RTO) in seconds.

      Parameters:
      rtoInSecs - Recovery Time Objective (RTO) in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      App.Builder status(String status)

      Status of the application.

      Parameters:
      status - Status of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      App.Builder status(AppStatusType status)

      Status of the application.

      Parameters:
      status - Status of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.