Class LambdaFunctionInfo

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)