Class TimeBasedLinear
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.TimeBasedLinear
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimeBasedLinear.Builder,TimeBasedLinear>
@Generated("software.amazon.awssdk:codegen") public final class TimeBasedLinear extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeBasedLinear.Builder,TimeBasedLinear>
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeBasedLinear.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeBasedLinear.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerlinearInterval()The number of minutes between each incremental traffic shift of aTimeBasedLineardeployment.IntegerlinearPercentage()The percentage of traffic that is shifted at the start of each increment of aTimeBasedLineardeployment.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TimeBasedLinear.Builder>serializableBuilderClass()TimeBasedLinear.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
-
linearPercentage
public final Integer linearPercentage()
The percentage of traffic that is shifted at the start of each increment of a
TimeBasedLineardeployment.- Returns:
- The percentage of traffic that is shifted at the start of each increment of a
TimeBasedLineardeployment.
-
linearInterval
public final Integer linearInterval()
The number of minutes between each incremental traffic shift of a
TimeBasedLineardeployment.- Returns:
- The number of minutes between each incremental traffic shift of a
TimeBasedLineardeployment.
-
toBuilder
public TimeBasedLinear.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimeBasedLinear.Builder,TimeBasedLinear>
-
builder
public static TimeBasedLinear.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimeBasedLinear.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
-
-