Class LinearConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.LinearConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LinearConfiguration.Builder,LinearConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class LinearConfiguration extends Object implements SdkPojo, Serializable, 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
CreateServiceorUpdateServicewithdeploymentControllerset toECSand adeploymentConfigurationwith a strategy set toLINEAR.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLinearConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinearConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LinearConfiguration.Builder>serializableBuilderClass()IntegerstepBakeTimeInMinutes()The amount of time in minutes to wait between each traffic shifting step during a linear deployment.DoublestepPercent()The percentage of production traffic to shift in each step during a linear deployment.LinearConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
stepPercent
public final Double 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
public final Integer 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
public LinearConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LinearConfiguration.Builder,LinearConfiguration>
-
builder
public static LinearConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends LinearConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-