Interface UpdateResiliencyPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResiliencyPolicyRequest.Builder,UpdateResiliencyPolicyRequest>,ResiliencehubRequest.Builder,SdkBuilder<UpdateResiliencyPolicyRequest.Builder,UpdateResiliencyPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateResiliencyPolicyRequest
public static interface UpdateResiliencyPolicyRequest.Builder extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<UpdateResiliencyPolicyRequest.Builder,UpdateResiliencyPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateResiliencyPolicyRequest.BuilderdataLocationConstraint(String dataLocationConstraint)Specifies a high-level geographical location constraint for where your resilience policy data can be stored.UpdateResiliencyPolicyRequest.BuilderdataLocationConstraint(DataLocationConstraint dataLocationConstraint)Specifies a high-level geographical location constraint for where your resilience policy data can be stored.UpdateResiliencyPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateResiliencyPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateResiliencyPolicyRequest.Builderpolicy(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.UpdateResiliencyPolicyRequest.BuilderpolicyArn(String policyArn)Amazon Resource Name (ARN) of the resiliency policy.UpdateResiliencyPolicyRequest.BuilderpolicyDescription(String policyDescription)The description for the policy.UpdateResiliencyPolicyRequest.BuilderpolicyName(String policyName)The name of the policyUpdateResiliencyPolicyRequest.BuilderpolicyWithStrings(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.UpdateResiliencyPolicyRequest.Buildertier(String tier)The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).UpdateResiliencyPolicyRequest.Buildertier(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
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
-
dataLocationConstraint
UpdateResiliencyPolicyRequest.Builder dataLocationConstraint(String 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,DataLocationConstraint
-
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:
DataLocationConstraint,DataLocationConstraint
-
policyWithStrings
UpdateResiliencyPolicyRequest.Builder policyWithStrings(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.
- 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
UpdateResiliencyPolicyRequest.Builder 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.
- 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
UpdateResiliencyPolicyRequest.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.
-
policyDescription
UpdateResiliencyPolicyRequest.Builder policyDescription(String 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
UpdateResiliencyPolicyRequest.Builder policyName(String 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
UpdateResiliencyPolicyRequest.Builder tier(String 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:
ResiliencyPolicyTier,ResiliencyPolicyTier
-
tier
UpdateResiliencyPolicyRequest.Builder tier(ResiliencyPolicyTier 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:
ResiliencyPolicyTier,ResiliencyPolicyTier
-
overrideConfiguration
UpdateResiliencyPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateResiliencyPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-