Interface CreateResiliencyPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateResiliencyPolicyRequest.Builder,
,CreateResiliencyPolicyRequest> ResiliencehubRequest.Builder
,SdkBuilder<CreateResiliencyPolicyRequest.Builder,
,CreateResiliencyPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateResiliencyPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Used for an idempotency token.dataLocationConstraint
(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.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.Tags assigned to the resource.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
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 Details
-
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
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
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:
-
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.
-
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.
-
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
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
CreateResiliencyPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateResiliencyPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-