Interface ResiliencyPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResiliencyPolicy.Builder,ResiliencyPolicy>,SdkBuilder<ResiliencyPolicy.Builder,ResiliencyPolicy>,SdkPojo
- Enclosing class:
- ResiliencyPolicy
public static interface ResiliencyPolicy.Builder extends SdkPojo, CopyableBuilder<ResiliencyPolicy.Builder,ResiliencyPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResiliencyPolicy.BuildercreationTime(Instant creationTime)Date and time when the resiliency policy was created.ResiliencyPolicy.BuilderdataLocationConstraint(String dataLocationConstraint)Specifies a high-level geographical location constraint for where your resilience policy data can be stored.ResiliencyPolicy.BuilderdataLocationConstraint(DataLocationConstraint dataLocationConstraint)Specifies a high-level geographical location constraint for where your resilience policy data can be stored.ResiliencyPolicy.BuilderestimatedCostTier(String estimatedCostTier)Specifies the estimated cost tier of the resiliency policy.ResiliencyPolicy.BuilderestimatedCostTier(EstimatedCostTier estimatedCostTier)Specifies the estimated cost tier of the resiliency policy.ResiliencyPolicy.Builderpolicy(Map<DisruptionType,FailurePolicy> policy)The resiliency policy.ResiliencyPolicy.BuilderpolicyArn(String policyArn)Amazon Resource Name (ARN) of the resiliency policy.ResiliencyPolicy.BuilderpolicyDescription(String policyDescription)The description for the policy.ResiliencyPolicy.BuilderpolicyName(String policyName)The name of the policyResiliencyPolicy.BuilderpolicyWithStrings(Map<String,FailurePolicy> policy)The resiliency policy.ResiliencyPolicy.Buildertags(Map<String,String> tags)Tags assigned to the resource.ResiliencyPolicy.Buildertier(String tier)The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).ResiliencyPolicy.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.utils.builder.CopyableBuilder
copy
-
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
-
creationTime
ResiliencyPolicy.Builder creationTime(Instant creationTime)
Date and time when the resiliency policy was created.
- Parameters:
creationTime- Date and time when the resiliency policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataLocationConstraint
ResiliencyPolicy.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
ResiliencyPolicy.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
-
estimatedCostTier
ResiliencyPolicy.Builder estimatedCostTier(String estimatedCostTier)
Specifies the estimated cost tier of the resiliency policy.
- Parameters:
estimatedCostTier- Specifies the estimated cost tier of the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EstimatedCostTier,EstimatedCostTier
-
estimatedCostTier
ResiliencyPolicy.Builder estimatedCostTier(EstimatedCostTier estimatedCostTier)
Specifies the estimated cost tier of the resiliency policy.
- Parameters:
estimatedCostTier- Specifies the estimated cost tier of the resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EstimatedCostTier,EstimatedCostTier
-
policyWithStrings
ResiliencyPolicy.Builder policyWithStrings(Map<String,FailurePolicy> policy)
The resiliency policy.
- Parameters:
policy- The resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
ResiliencyPolicy.Builder policy(Map<DisruptionType,FailurePolicy> policy)
The resiliency policy.
- Parameters:
policy- The resiliency policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
ResiliencyPolicy.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
ResiliencyPolicy.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
ResiliencyPolicy.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.
-
tags
ResiliencyPolicy.Builder tags(Map<String,String> tags)
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
- Parameters:
tags- Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
ResiliencyPolicy.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
ResiliencyPolicy.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
-
-