Class LambdaFunctionInfo
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.LambdaFunctionInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaFunctionInfo.Builder,LambdaFunctionInfo>
@Generated("software.amazon.awssdk:codegen") public final class LambdaFunctionInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaFunctionInfo.Builder,LambdaFunctionInfo>
Information about a Lambda function specified in a deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLambdaFunctionInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LambdaFunctionInfo.Builderbuilder()StringcurrentVersion()The version of a Lambda function that production traffic points to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfunctionAlias()The alias of a Lambda function.StringfunctionName()The name of a Lambda function.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LambdaFunctionInfo.Builder>serializableBuilderClass()StringtargetVersion()The version of a Lambda function that production traffic points to after the Lambda function is deployed.DoubletargetVersionWeight()The percentage of production traffic that the target version of a Lambda function receives.LambdaFunctionInfo.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
-
functionName
public final String functionName()
The name of a Lambda function.
- Returns:
- The name of a Lambda function.
-
functionAlias
public final String functionAlias()
The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
- Returns:
- The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
-
currentVersion
public final String currentVersion()
The version of a Lambda function that production traffic points to.
- Returns:
- The version of a Lambda function that production traffic points to.
-
targetVersion
public final String targetVersion()
The version of a Lambda function that production traffic points to after the Lambda function is deployed.
- Returns:
- The version of a Lambda function that production traffic points to after the Lambda function is deployed.
-
targetVersionWeight
public final Double targetVersionWeight()
The percentage of production traffic that the target version of a Lambda function receives.
- Returns:
- The percentage of production traffic that the target version of a Lambda function receives.
-
toBuilder
public LambdaFunctionInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaFunctionInfo.Builder,LambdaFunctionInfo>
-
builder
public static LambdaFunctionInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends LambdaFunctionInfo.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
-
-