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.BuilderpermissionModel(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaEventSubscription.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaPermissionModel.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-