Interface PauseStateScheduleActionSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PauseStateScheduleActionSettings.Builder,
,PauseStateScheduleActionSettings> SdkBuilder<PauseStateScheduleActionSettings.Builder,
,PauseStateScheduleActionSettings> SdkPojo
- Enclosing class:
PauseStateScheduleActionSettings
public static interface PauseStateScheduleActionSettings.Builder
extends SdkPojo, CopyableBuilder<PauseStateScheduleActionSettings.Builder,PauseStateScheduleActionSettings>
-
Method Summary
Modifier and TypeMethodDescriptionpipelines
(Collection<PipelinePauseStateSettings> pipelines) Sets the value of the Pipelines property for this object.pipelines
(Consumer<PipelinePauseStateSettings.Builder>... pipelines) Sets the value of the Pipelines property for this object.pipelines
(PipelinePauseStateSettings... pipelines) Sets the value of the Pipelines property for this object.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, sdkFields
-
Method Details
-
pipelines
PauseStateScheduleActionSettings.Builder pipelines(Collection<PipelinePauseStateSettings> pipelines) Sets the value of the Pipelines property for this object.- Parameters:
pipelines
- The new value for the Pipelines property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelines
Sets the value of the Pipelines property for this object.- Parameters:
pipelines
- The new value for the Pipelines property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelines
PauseStateScheduleActionSettings.Builder pipelines(Consumer<PipelinePauseStateSettings.Builder>... pipelines) Sets the value of the Pipelines property for this object. This is a convenience method that creates an instance of thePipelinePauseStateSettings.Builder
avoiding the need to create one manually viaPipelinePauseStateSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topipelines(List<PipelinePauseStateSettings>)
.- Parameters:
pipelines
- a consumer that will call methods onPipelinePauseStateSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-