Class LinearConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LinearConfiguration.Builder,LinearConfiguration>
Configuration for linear deployment strategy that shifts production traffic in equal percentage increments with
configurable wait times between each step until 100% of traffic is shifted to the new service revision. This is only
valid when you run CreateService or UpdateService with deploymentController
set to ECS and a deploymentConfiguration with a strategy set to LINEAR.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LinearConfiguration.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends LinearConfiguration.Builder>final IntegerThe amount of time in minutes to wait between each traffic shifting step during a linear deployment.final DoubleThe percentage of production traffic to shift in each step during a linear deployment.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stepPercent
The percentage of production traffic to shift in each step during a linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. The default value is 10.0.
- Returns:
- The percentage of production traffic to shift in each step during a linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. The default value is 10.0.
-
stepBakeTimeInMinutes
The amount of time in minutes to wait between each traffic shifting step during a linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is 6. This bake time is not applied after reaching 100 percent traffic.
- Returns:
- The amount of time in minutes to wait between each traffic shifting step during a linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is 6. This bake time is not applied after reaching 100 percent traffic.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LinearConfiguration.Builder,LinearConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-