public static interface App.Builder extends SdkPojo, CopyableBuilder<App.Builder,App>
| Modifier and Type | Method and Description |
|---|---|
App.Builder |
appArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
App.Builder |
assessmentSchedule(AppAssessmentScheduleType assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
App.Builder |
assessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
App.Builder |
complianceStatus(AppComplianceStatusType complianceStatus)
Current status of compliance for the resiliency policy.
|
App.Builder |
complianceStatus(String complianceStatus)
Current status of compliance for the resiliency policy.
|
App.Builder |
creationTime(Instant creationTime)
Timestamp for when the app was created.
|
App.Builder |
description(String description)
Optional description for an application.
|
App.Builder |
driftStatus(AppDriftStatusType driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
App.Builder |
driftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
App.Builder |
eventSubscriptions(Collection<EventSubscription> eventSubscriptions)
The list of events you would like to subscribe and get notification for.
|
App.Builder |
eventSubscriptions(Consumer<EventSubscription.Builder>... eventSubscriptions)
The list of events you would like to subscribe and get notification for.
|
App.Builder |
eventSubscriptions(EventSubscription... eventSubscriptions)
The list of events you would like to subscribe and get notification for.
|
App.Builder |
lastAppComplianceEvaluationTime(Instant lastAppComplianceEvaluationTime)
Timestamp for the most recent compliance evaluation.
|
App.Builder |
lastDriftEvaluationTime(Instant lastDriftEvaluationTime)
Indicates the last time that a drift was evaluated.
|
App.Builder |
lastResiliencyScoreEvaluationTime(Instant lastResiliencyScoreEvaluationTime)
Timestamp for the most recent resiliency score evaluation.
|
App.Builder |
name(String name)
Name for the application.
|
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.
|
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.
|
App.Builder |
policyArn(String policyArn)
Amazon Resource Name (ARN) of the resiliency policy.
|
App.Builder |
resiliencyScore(Double resiliencyScore)
Current resiliency score for the application.
|
App.Builder |
status(AppStatusType status)
Status of the application.
|
App.Builder |
status(String status)
Status of the application.
|
App.Builder |
tags(Map<String,String> tags)
Tags assigned to the resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildApp.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 AWS General Reference guide.
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 AWS General Reference guide.App.Builder assessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule - Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType,
AppAssessmentScheduleTypeApp.Builder assessmentSchedule(AppAssessmentScheduleType assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule - Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType,
AppAssessmentScheduleTypeApp.Builder complianceStatus(String complianceStatus)
Current status of compliance for the resiliency policy.
complianceStatus - Current status of compliance for the resiliency policy.AppComplianceStatusType,
AppComplianceStatusTypeApp.Builder complianceStatus(AppComplianceStatusType complianceStatus)
Current status of compliance for the resiliency policy.
complianceStatus - Current status of compliance for the resiliency policy.AppComplianceStatusType,
AppComplianceStatusTypeApp.Builder creationTime(Instant creationTime)
Timestamp for when the app was created.
creationTime - Timestamp for when the app was created.App.Builder description(String description)
Optional description for an application.
description - Optional description for an application.App.Builder driftStatus(String driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus - Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.AppDriftStatusType,
AppDriftStatusTypeApp.Builder driftStatus(AppDriftStatusType driftStatus)
Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
driftStatus - Indicates if compliance drifts (deviations) were detected while running an assessment for your
application.AppDriftStatusType,
AppDriftStatusTypeApp.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.
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.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.
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.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 theEventSubscription.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.
eventSubscriptions - a consumer that will call methods on
EventSubscription.Builder#eventSubscriptions(java.util.Collection) App.Builder lastAppComplianceEvaluationTime(Instant lastAppComplianceEvaluationTime)
Timestamp for the most recent compliance evaluation.
lastAppComplianceEvaluationTime - Timestamp for the most recent compliance evaluation.App.Builder lastDriftEvaluationTime(Instant lastDriftEvaluationTime)
Indicates the last time that a drift was evaluated.
lastDriftEvaluationTime - Indicates the last time that a drift was evaluated.App.Builder lastResiliencyScoreEvaluationTime(Instant lastResiliencyScoreEvaluationTime)
Timestamp for the most recent resiliency score evaluation.
lastResiliencyScoreEvaluationTime - Timestamp for the most recent resiliency score evaluation.App.Builder name(String name)
Name for the application.
name - Name for the application.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.
permissionModel - Defines the roles and credentials that Resilience Hub would use while creating the application,
importing its resources, and running an assessment.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 thePermissionModel.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).
permissionModel - a consumer that will call methods on PermissionModel.BuilderpermissionModel(PermissionModel)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 AWS General Reference guide.
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 AWS General Reference guide.App.Builder resiliencyScore(Double resiliencyScore)
Current resiliency score for the application.
resiliencyScore - Current resiliency score for the application.App.Builder status(String status)
Status of the application.
status - Status of the application.AppStatusType,
AppStatusTypeApp.Builder status(AppStatusType status)
Status of the application.
status - Status of the application.AppStatusType,
AppStatusTypeApp.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.
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.Copyright © 2023. All rights reserved.