@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeBasedLinear extends Object implements Serializable, Cloneable, StructuredPojo
A configuration that shifts traffic from one version of a Lambda function to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file.
| Constructor and Description | 
|---|
| TimeBasedLinear() | 
| Modifier and Type | Method and Description | 
|---|---|
| TimeBasedLinear | clone() | 
| boolean | equals(Object obj) | 
| Integer | getLinearInterval()
 The number of minutes between each incremental traffic shift of a  TimeBasedLineardeployment. | 
| Integer | getLinearPercentage()
 The percentage of traffic that is shifted at the start of each increment of a  TimeBasedLineardeployment. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setLinearInterval(Integer linearInterval)
 The number of minutes between each incremental traffic shift of a  TimeBasedLineardeployment. | 
| void | setLinearPercentage(Integer linearPercentage)
 The percentage of traffic that is shifted at the start of each increment of a  TimeBasedLineardeployment. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| TimeBasedLinear | withLinearInterval(Integer linearInterval)
 The number of minutes between each incremental traffic shift of a  TimeBasedLineardeployment. | 
| TimeBasedLinear | withLinearPercentage(Integer linearPercentage)
 The percentage of traffic that is shifted at the start of each increment of a  TimeBasedLineardeployment. | 
public void setLinearPercentage(Integer linearPercentage)
 The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
 deployment.
 
linearPercentage - The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
        deployment.public Integer getLinearPercentage()
 The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
 deployment.
 
TimeBasedLinear deployment.public TimeBasedLinear withLinearPercentage(Integer linearPercentage)
 The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
 deployment.
 
linearPercentage - The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
        deployment.public void setLinearInterval(Integer linearInterval)
 The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.
 
linearInterval - The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.public Integer getLinearInterval()
 The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.
 
TimeBasedLinear
         deployment.public TimeBasedLinear withLinearInterval(Integer linearInterval)
 The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.
 
linearInterval - The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.public String toString()
toString in class ObjectObject.toString()public TimeBasedLinear clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.