Interface CreateResiliencyPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResiliencyPolicyRequest.Builder,CreateResiliencyPolicyRequest>,ResiliencehubRequest.Builder,SdkBuilder<CreateResiliencyPolicyRequest.Builder,CreateResiliencyPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateResiliencyPolicyRequest
public static interface CreateResiliencyPolicyRequest.Builder extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<CreateResiliencyPolicyRequest.Builder,CreateResiliencyPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateResiliencyPolicyRequest.BuilderclientToken(String clientToken)Used for an idempotency token.CreateResiliencyPolicyRequest.BuilderdataLocationConstraint(String dataLocationConstraint)Specifies a high-level geographical location constraint for where your resilience policy data can be stored.CreateResiliencyPolicyRequest.BuilderdataLocationConstraint(DataLocationConstraint dataLocationConstraint)Specifies a high-level geographical location constraint for where your resilience policy data can be stored.CreateResiliencyPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateResiliencyPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateResiliencyPolicyRequest.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.CreateResiliencyPolicyRequest.BuilderpolicyDescription(String policyDescription)The description for the policy.CreateResiliencyPolicyRequest.BuilderpolicyName(String policyName)The name of the policyCreateResiliencyPolicyRequest.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.CreateResiliencyPolicyRequest.Buildertags(Map<String,String> tags)Tags assigned to the resource.CreateResiliencyPolicyRequest.Buildertier(String tier)The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).CreateResiliencyPolicyRequest.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
-
clientToken
CreateResiliencyPolicyRequest.Builder clientToken(String clientToken)
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- Parameters:
clientToken- Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataLocationConstraint
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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.
-
policyDescription
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.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
CreateResiliencyPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateResiliencyPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-