Class CodeContentDescription

    • Method Detail

      • textContent

        public final String textContent()

        The text-format code

        Returns:
        The text-format code
      • codeMD5

        public final String codeMD5()

        The checksum that can be used to validate zip-format code.

        Returns:
        The checksum that can be used to validate zip-format code.
      • codeSize

        public final Long codeSize()

        The size in bytes of the application code. Can be used to validate zip-format code.

        Returns:
        The size in bytes of the application code. Can be used to validate zip-format code.
      • s3ApplicationCodeLocationDescription

        public final S3ApplicationCodeLocationDescription s3ApplicationCodeLocationDescription()

        The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.

        Returns:
        The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.
      • 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)