Interface PracticeRunConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PracticeRunConfiguration.Builder,,PracticeRunConfiguration> SdkBuilder<PracticeRunConfiguration.Builder,,PracticeRunConfiguration> SdkPojo
- Enclosing class:
PracticeRunConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionblockedDates(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.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.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.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.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 anALARMstate.blockingAlarms(Consumer<ControlCondition.Builder>... blockingAlarms) The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in anALARMstate.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 anALARMstate.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 anALARMstate.outcomeAlarms(Consumer<ControlCondition.Builder>... outcomeAlarms) The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in anALARMstate.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 anALARMstate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an
ALARMstate.- 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 anALARMstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
ALARMstate.- 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 anALARMstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockingAlarms
PracticeRunConfiguration.Builder blockingAlarms(Consumer<ControlCondition.Builder>... 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
This is a convenience method that creates an instance of theALARMstate.ControlCondition.Builderavoiding the need to create one manually viaControlCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblockingAlarms(List<ControlCondition>).- Parameters:
blockingAlarms- a consumer that will call methods onControlCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outcomeAlarms
The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an
ALARMstate.- Parameters:
outcomeAlarms- The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in anALARMstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomeAlarms
The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an
ALARMstate.- Parameters:
outcomeAlarms- The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in anALARMstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomeAlarms
The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an
This is a convenience method that creates an instance of theALARMstate.ControlCondition.Builderavoiding the need to create one manually viaControlCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutcomeAlarms(List<ControlCondition>).- Parameters:
outcomeAlarms- a consumer that will call methods onControlCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-