Interface CreateResiliencyPolicyRequest.Builder

    • 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