Interface UpdateAppRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAppRequest.Builder,
,UpdateAppRequest> ResiliencehubRequest.Builder
,SdkBuilder<UpdateAppRequest.Builder,
,UpdateAppRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAppRequest
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.assessmentSchedule
(String assessmentSchedule) Assessment execution schedule with 'Daily' or 'Disabled' values.assessmentSchedule
(AppAssessmentScheduleType assessmentSchedule) Assessment execution schedule with 'Daily' or 'Disabled' values.clearResiliencyPolicyArn
(Boolean clearResiliencyPolicyArn) Specifies if the resiliency policy ARN should be cleared.description
(String description) The optional description for an app.eventSubscriptions
(Collection<EventSubscription> eventSubscriptions) The list of events you would like to subscribe and get notification for.eventSubscriptions
(Consumer<EventSubscription.Builder>... eventSubscriptions) The list of events you would like to subscribe and get notification for.eventSubscriptions
(EventSubscription... eventSubscriptions) The list of events you would like to subscribe and get notification for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateAppRequest.Builder
permissionModel
(Consumer<PermissionModel.Builder> permissionModel) Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.permissionModel
(PermissionModel permissionModel) Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.Amazon Resource Name (ARN) of the resiliency policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
clearResiliencyPolicyArn
Specifies if the resiliency policy ARN should be cleared.
- Parameters:
clearResiliencyPolicyArn
- Specifies if the resiliency policy ARN should be cleared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The optional description for an app.
- Parameters:
description
- The optional description for an app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
UpdateAppRequest.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 viaEventSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventSubscriptions(List<EventSubscription>)
.- Parameters:
eventSubscriptions
- a consumer that will call methods onEventSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionModel
Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.
- Parameters:
permissionModel
- Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
Defines the roles and credentials that Resilience Hub would use while creating an 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 viaPermissionModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissionModel(PermissionModel)
.- Parameters:
permissionModel
- a consumer that will call methods onPermissionModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-