@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaFunctionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Lambda function specified in a deployment.
| Constructor and Description |
|---|
LambdaFunctionInfo () |
| Modifier and Type | Method and Description |
|---|---|
LambdaFunctionInfo |
clone () |
boolean |
equals (Object obj) |
String |
getCurrentVersion ()
The version of a Lambda function that production traffic points to.
|
String |
getFunctionAlias ()
The alias of a Lambda function.
|
String |
getFunctionName ()
The name of a Lambda function.
|
String |
getTargetVersion ()
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
|
Double |
getTargetVersionWeight ()
The percentage of production traffic that the target version of a Lambda function receives.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrentVersion (String currentVersion)
The version of a Lambda function that production traffic points to.
|
void |
setFunctionAlias (String functionAlias)
The alias of a Lambda function.
|
void |
setFunctionName (String functionName)
The name of a Lambda function.
|
void |
setTargetVersion (String targetVersion)
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
|
void |
setTargetVersionWeight (Double targetVersionWeight)
The percentage of production traffic that the target version of a Lambda function receives.
|
String |
toString ()
Returns a string representation of this object.
|
LambdaFunctionInfo |
withCurrentVersion (String currentVersion)
The version of a Lambda function that production traffic points to.
|
LambdaFunctionInfo |
withFunctionAlias (String functionAlias)
The alias of a Lambda function.
|
LambdaFunctionInfo |
withFunctionName (String functionName)
The name of a Lambda function.
|
LambdaFunctionInfo |
withTargetVersion (String targetVersion)
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
|
LambdaFunctionInfo |
withTargetVersionWeight (Double targetVersionWeight)
The percentage of production traffic that the target version of a Lambda function receives.
|
public LambdaFunctionInfo()
public void setFunctionName(String functionName)
The name of a Lambda function.
functionName - The name of a Lambda function.public String getFunctionName()
The name of a Lambda function.
public LambdaFunctionInfo withFunctionName(String functionName)
The name of a Lambda function.
functionName - The name of a Lambda function.public void setFunctionAlias(String functionAlias)
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
functionAlias - The alias of a Lambda function. For more information, see Lambda Function Aliases in the
Lambda Developer Guide.public String getFunctionAlias()
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
public LambdaFunctionInfo withFunctionAlias(String functionAlias)
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
functionAlias - The alias of a Lambda function. For more information, see Lambda Function Aliases in the
Lambda Developer Guide.public void setCurrentVersion(String currentVersion)
The version of a Lambda function that production traffic points to.
currentVersion - The version of a Lambda function that production traffic points to.public String getCurrentVersion()
The version of a Lambda function that production traffic points to.
public LambdaFunctionInfo withCurrentVersion(String currentVersion)
The version of a Lambda function that production traffic points to.
currentVersion - The version of a Lambda function that production traffic points to.public void setTargetVersion(String targetVersion)
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
targetVersion - The version of a Lambda function that production traffic points to after the Lambda function is deployed.public String getTargetVersion()
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
public LambdaFunctionInfo withTargetVersion(String targetVersion)
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
targetVersion - The version of a Lambda function that production traffic points to after the Lambda function is deployed.public void setTargetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of a Lambda function receives.
targetVersionWeight - The percentage of production traffic that the target version of a Lambda function receives.public Double getTargetVersionWeight()
The percentage of production traffic that the target version of a Lambda function receives.
public LambdaFunctionInfo withTargetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of a Lambda function receives.
targetVersionWeight - The percentage of production traffic that the target version of a Lambda function receives.public String toString()
toString in class Object Object.toString() public LambdaFunctionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.