Interface GradualRolloutState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GradualRolloutState.Builder,,GradualRolloutState> SdkBuilder<GradualRolloutState.Builder,,GradualRolloutState> SdkPojo
- Enclosing class:
GradualRolloutState
-
Method Summary
Modifier and TypeMethodDescriptioncurrentStageIndex(Integer currentStageIndex) The index of the current gradual rollout stage.The time at which processing ended.schedule(Collection<RolloutStage> schedule) The stages of the gradual rollout.schedule(Consumer<RolloutStage.Builder>... schedule) The stages of the gradual rollout.schedule(RolloutStage... schedule) The stages of the gradual rollout.sourceRoutingConfig(Collection<RoutingConfigEntry> sourceRoutingConfig) The traffic routing at the start of the gradual rollout.sourceRoutingConfig(Consumer<RoutingConfigEntry.Builder>... sourceRoutingConfig) The traffic routing at the start of the gradual rollout.sourceRoutingConfig(RoutingConfigEntry... sourceRoutingConfig) The traffic routing at the start of the gradual rollout.The time at which processing started.The status of the resource.status(GradualRolloutStatus status) The status of the resource.targetRoutingConfig(Collection<RoutingConfigEntry> targetRoutingConfig) The traffic routing at the end of the gradual rollout.targetRoutingConfig(Consumer<RoutingConfigEntry.Builder>... targetRoutingConfig) The traffic routing at the end of the gradual rollout.targetRoutingConfig(RoutingConfigEntry... targetRoutingConfig) The traffic routing at the end of the gradual rollout.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, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The status of the resource.
- Parameters:
status- The status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the resource.
- Parameters:
status- The status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceRoutingConfig
The traffic routing at the start of the gradual rollout.
- Parameters:
sourceRoutingConfig- The traffic routing at the start of the gradual rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRoutingConfig
The traffic routing at the start of the gradual rollout.
- Parameters:
sourceRoutingConfig- The traffic routing at the start of the gradual rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRoutingConfig
GradualRolloutState.Builder sourceRoutingConfig(Consumer<RoutingConfigEntry.Builder>... sourceRoutingConfig) The traffic routing at the start of the gradual rollout.
This is a convenience method that creates an instance of theRoutingConfigEntry.Builderavoiding the need to create one manually viaRoutingConfigEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceRoutingConfig(List<RoutingConfigEntry>).- Parameters:
sourceRoutingConfig- a consumer that will call methods onRoutingConfigEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetRoutingConfig
The traffic routing at the end of the gradual rollout.
- Parameters:
targetRoutingConfig- The traffic routing at the end of the gradual rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRoutingConfig
The traffic routing at the end of the gradual rollout.
- Parameters:
targetRoutingConfig- The traffic routing at the end of the gradual rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRoutingConfig
GradualRolloutState.Builder targetRoutingConfig(Consumer<RoutingConfigEntry.Builder>... targetRoutingConfig) The traffic routing at the end of the gradual rollout.
This is a convenience method that creates an instance of theRoutingConfigEntry.Builderavoiding the need to create one manually viaRoutingConfigEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetRoutingConfig(List<RoutingConfigEntry>).- Parameters:
targetRoutingConfig- a consumer that will call methods onRoutingConfigEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The stages of the gradual rollout.
- Parameters:
schedule- The stages of the gradual rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The stages of the gradual rollout.
- Parameters:
schedule- The stages of the gradual rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The stages of the gradual rollout.
This is a convenience method that creates an instance of theRolloutStage.Builderavoiding the need to create one manually viaRolloutStage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(List<RolloutStage>).- Parameters:
schedule- a consumer that will call methods onRolloutStage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentStageIndex
The index of the current gradual rollout stage.
- Parameters:
currentStageIndex- The index of the current gradual rollout stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time at which processing started. The value is in ISO-8601 format.
- Parameters:
startedAt- The time at which processing started. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time at which processing ended. The value is in ISO-8601 format.
- Parameters:
endedAt- The time at which processing ended. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-