Interface PracticeRunConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PracticeRunConfiguration.Builder,
,PracticeRunConfiguration> SdkBuilder<PracticeRunConfiguration.Builder,
,PracticeRunConfiguration> SdkPojo
- Enclosing class:
PracticeRunConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallowedWindows
(String... allowedWindows) An array of one or more windows of days and times that you can allow ARC to start practice runs for a resource.allowedWindows
(Collection<String> allowedWindows) An array of one or more windows of days and times that you can allow ARC to start practice runs for a resource.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.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 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 ARC from starting practice runs for a resource.blockingAlarms
(Collection<ControlCondition> blockingAlarms) Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in anALARM
state.blockingAlarms
(Consumer<ControlCondition.Builder>... blockingAlarms) Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in anALARM
state.blockingAlarms
(ControlCondition... blockingAlarms) Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in anALARM
state.outcomeAlarms
(Collection<ControlCondition> outcomeAlarms) Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in anALARM
state.outcomeAlarms
(Consumer<ControlCondition.Builder>... outcomeAlarms) Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in anALARM
state.outcomeAlarms
(ControlCondition... outcomeAlarms) Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in anALARM
state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
blockingAlarms
Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in an
ALARM
state.- Parameters:
blockingAlarms
- Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in anALARM
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockingAlarms
Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in an
ALARM
state.- Parameters:
blockingAlarms
- Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in anALARM
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockingAlarms
PracticeRunConfiguration.Builder blockingAlarms(Consumer<ControlCondition.Builder>... blockingAlarms) Blocking alarms for practice runs are optional alarms that you can specify that block practice runs when one or more of the alarms is in an
This is a convenience method that creates an instance of theALARM
state.ControlCondition.Builder
avoiding the need to create one manually viaControlCondition.builder()
.When the
Consumer
completes,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
Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in an
ALARM
state.- Parameters:
outcomeAlarms
- Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in anALARM
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomeAlarms
Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in an
ALARM
state.- Parameters:
outcomeAlarms
- Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in anALARM
state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outcomeAlarms
Outcome alarms for practice runs are alarms that you specify that end a practice run when one or more of the alarms is in an
This is a convenience method that creates an instance of theALARM
state.ControlCondition.Builder
avoiding the need to create one manually viaControlCondition.builder()
.When the
Consumer
completes,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:
-
blockedWindows
An array of one or more windows of days and times that you can block 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
.The
blockedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- Parameters:
blockedWindows
- An array of one or more windows of days and times that you can block 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
.The
blockedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- 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 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
.The
blockedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- Parameters:
blockedWindows
- An array of one or more windows of days and times that you can block 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
.The
blockedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedWindows
An array of one or more windows of days and times that you can allow ARC to start practice runs for a resource.
For example, say you want to allow practice runs only on Wednesdays and Fridays from noon to 5 p.m. For this scenario, you could set the following recurring days and times as allowed windows, for example:
Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00
.The
allowedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- Parameters:
allowedWindows
- An array of one or more windows of days and times that you can allow ARC to start practice runs for a resource.For example, say you want to allow practice runs only on Wednesdays and Fridays from noon to 5 p.m. For this scenario, you could set the following recurring days and times as allowed windows, for example:
Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00
.The
allowedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedWindows
An array of one or more windows of days and times that you can allow ARC to start practice runs for a resource.
For example, say you want to allow practice runs only on Wednesdays and Fridays from noon to 5 p.m. For this scenario, you could set the following recurring days and times as allowed windows, for example:
Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00
.The
allowedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- Parameters:
allowedWindows
- An array of one or more windows of days and times that you can allow ARC to start practice runs for a resource.For example, say you want to allow practice runs only on Wednesdays and Fridays from noon to 5 p.m. For this scenario, you could set the following recurring days and times as allowed windows, for example:
Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00
.The
allowedWindows
have to start and end on the same day. Windows that span multiple days aren't supported.- 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.
-
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.
-