Interface UpdateAppRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>,ResiliencehubRequest.Builder,SdkBuilder<UpdateAppRequest.Builder,UpdateAppRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAppRequest
public static interface UpdateAppRequest.Builder extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<UpdateAppRequest.Builder,UpdateAppRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateAppRequest.BuilderappArn(String appArn)Amazon Resource Name (ARN) of the Resilience Hub application.UpdateAppRequest.BuilderassessmentSchedule(String assessmentSchedule)Assessment execution schedule with 'Daily' or 'Disabled' values.UpdateAppRequest.BuilderassessmentSchedule(AppAssessmentScheduleType assessmentSchedule)Assessment execution schedule with 'Daily' or 'Disabled' values.UpdateAppRequest.BuilderclearResiliencyPolicyArn(Boolean clearResiliencyPolicyArn)Specifies if the resiliency policy ARN should be cleared.UpdateAppRequest.Builderdescription(String description)The optional description for an app.UpdateAppRequest.BuildereventSubscriptions(Collection<EventSubscription> eventSubscriptions)The list of events you would like to subscribe and get notification for.UpdateAppRequest.BuildereventSubscriptions(Consumer<EventSubscription.Builder>... eventSubscriptions)The list of events you would like to subscribe and get notification for.UpdateAppRequest.BuildereventSubscriptions(EventSubscription... eventSubscriptions)The list of events you would like to subscribe and get notification for.UpdateAppRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAppRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)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.UpdateAppRequest.BuilderpermissionModel(PermissionModel permissionModel)Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.UpdateAppRequest.BuilderpolicyArn(String policyArn)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, sdkFields
-
-
-
-
Method Detail
-
appArn
UpdateAppRequest.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
UpdateAppRequest.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:
AppAssessmentScheduleType,AppAssessmentScheduleType
-
assessmentSchedule
UpdateAppRequest.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:
AppAssessmentScheduleType,AppAssessmentScheduleType
-
clearResiliencyPolicyArn
UpdateAppRequest.Builder clearResiliencyPolicyArn(Boolean 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
UpdateAppRequest.Builder description(String 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
UpdateAppRequest.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
UpdateAppRequest.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
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 to#eventSubscriptions(List.) - 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:
#eventSubscriptions(java.util.Collection)
-
permissionModel
UpdateAppRequest.Builder permissionModel(PermissionModel 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
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.
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:
permissionModel(PermissionModel)
-
policyArn
UpdateAppRequest.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.
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-