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 Details

    • 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

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

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

      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

      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: