Interface ResiliencyPolicy.Builder

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