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 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

      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

      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

      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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.