Interface PracticeRunConfiguration.Builder

    • Method Detail

      • blockedDates

        PracticeRunConfiguration.Builder blockedDates​(Collection<String> blockedDates)

        An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.

        Specify blocked dates, in UTC, in the format YYYY-MM-DD, separated by spaces.

        Parameters:
        blockedDates - An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.

        Specify blocked dates, in UTC, in the format YYYY-MM-DD, separated by spaces.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockedDates

        PracticeRunConfiguration.Builder blockedDates​(String... blockedDates)

        An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.

        Specify blocked dates, in UTC, in the format YYYY-MM-DD, separated by spaces.

        Parameters:
        blockedDates - An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.

        Specify blocked dates, in UTC, in the format YYYY-MM-DD, separated by spaces.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockedWindows

        PracticeRunConfiguration.Builder blockedWindows​(Collection<String> blockedWindows)

        An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.

        Specify the blocked windows in UTC, using the format DAY:HH:MM-DAY:HH:MM, separated by spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30.

        Parameters:
        blockedWindows - An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.

        Specify the blocked windows in UTC, using the format DAY:HH:MM-DAY:HH:MM, separated by spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockedWindows

        PracticeRunConfiguration.Builder blockedWindows​(String... blockedWindows)

        An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.

        Specify the blocked windows in UTC, using the format DAY:HH:MM-DAY:HH:MM, separated by spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30.

        Parameters:
        blockedWindows - An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.

        Specify the blocked windows in UTC, using the format DAY:HH:MM-DAY:HH:MM, separated by spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockingAlarms

        PracticeRunConfiguration.Builder blockingAlarms​(Collection<ControlCondition> blockingAlarms)

        The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an ALARM state.

        Parameters:
        blockingAlarms - The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an ALARM state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockingAlarms

        PracticeRunConfiguration.Builder blockingAlarms​(ControlCondition... blockingAlarms)

        The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an ALARM state.

        Parameters:
        blockingAlarms - The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an ALARM state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outcomeAlarms

        PracticeRunConfiguration.Builder outcomeAlarms​(Collection<ControlCondition> outcomeAlarms)

        The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an ALARM state.

        Parameters:
        outcomeAlarms - The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an ALARM state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outcomeAlarms

        PracticeRunConfiguration.Builder outcomeAlarms​(ControlCondition... outcomeAlarms)

        The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an ALARM state.

        Parameters:
        outcomeAlarms - The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an ALARM state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.