Interface UpdateResiliencyPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResiliencyPolicyRequest.Builder,,UpdateResiliencyPolicyRequest> ResiliencehubRequest.Builder,SdkBuilder<UpdateResiliencyPolicyRequest.Builder,,UpdateResiliencyPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateResiliencyPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataLocationConstraint(String dataLocationConstraint) Specifies a high-level geographical location constraint for where your resilience policy data can be stored.dataLocationConstraint(DataLocationConstraint dataLocationConstraint) Specifies a high-level geographical location constraint for where your resilience policy data can be stored.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policy(Map<DisruptionType, FailurePolicy> policy) The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.Amazon Resource Name (ARN) of the resiliency policy.policyDescription(String policyDescription) The description for the policy.policyName(String policyName) The name of the policypolicyWithStrings(Map<String, FailurePolicy> policy) The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).tier(ResiliencyPolicyTier tier) The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).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, sdkFieldNameToField, sdkFields
-
Method Details
-
dataLocationConstraint
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
- Parameters:
dataLocationConstraint- Specifies a high-level geographical location constraint for where your resilience policy data can be stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataLocationConstraint
UpdateResiliencyPolicyRequest.Builder dataLocationConstraint(DataLocationConstraint dataLocationConstraint) Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
- Parameters:
dataLocationConstraint- Specifies a high-level geographical location constraint for where your resilience policy data can be stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyWithStrings
The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
- Parameters:
policy- The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
- Parameters:
policy- The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
policyDescription
The description for the policy.
- Parameters:
policyDescription- The description for the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
The name of the policy
- Parameters:
policyName- The name of the policy- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
The tier for this resiliency policy, ranging from the highest severity (
MissionCritical) to lowest (NonCritical).- Parameters:
tier- The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tier
The tier for this resiliency policy, ranging from the highest severity (
MissionCritical) to lowest (NonCritical).- Parameters:
tier- The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateResiliencyPolicyRequest.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
UpdateResiliencyPolicyRequest.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.
-