Interface StartPracticeRunResponse.Builder

  • Method Details

    • zonalShiftId

      StartPracticeRunResponse.Builder zonalShiftId(String zonalShiftId)

      The identifier of a practice run zonal shift.

      Parameters:
      zonalShiftId - The identifier of a practice run zonal shift.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifier

      StartPracticeRunResponse.Builder resourceIdentifier(String resourceIdentifier)

      The identifier for the resource that you want to shift traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

      Parameters:
      resourceIdentifier - The identifier for the resource that you want to shift traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awayFrom

      The Availability Zone (for example, use1-az1) that traffic is shifted away from for the resource that you specify for the practice run.

      Parameters:
      awayFrom - The Availability Zone (for example, use1-az1) that traffic is shifted away from for the resource that you specify for the practice run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiryTime

      StartPracticeRunResponse.Builder expiryTime(Instant expiryTime)

      The expiry time (expiration time) for an on-demand practice run zonal shift is 30 minutes from the time when you start the practice run, unless you cancel it before that time. However, be aware that the expiryTime field for practice run zonal shifts always has a value of 1 minute.

      Parameters:
      expiryTime - The expiry time (expiration time) for an on-demand practice run zonal shift is 30 minutes from the time when you start the practice run, unless you cancel it before that time. However, be aware that the expiryTime field for practice run zonal shifts always has a value of 1 minute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      The time (UTC) when the zonal shift starts.

      Parameters:
      startTime - The time (UTC) when the zonal shift starts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      A status for the practice run (expected status is ACTIVE).

      Parameters:
      status - A status for the practice run (expected status is ACTIVE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      A status for the practice run (expected status is ACTIVE).

      Parameters:
      status - A status for the practice run (expected status is ACTIVE).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comment

      The initial comment that you enter about the practice run. Be aware that this comment can be overwritten by Amazon Web Services if the automatic check for balanced capacity fails. For more information, see Capacity checks for practice runs in the Amazon Application Recovery Controller Developer Guide.

      Parameters:
      comment - The initial comment that you enter about the practice run. Be aware that this comment can be overwritten by Amazon Web Services if the automatic check for balanced capacity fails. For more information, see Capacity checks for practice runs in the Amazon Application Recovery Controller Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.