ModelFunction class abstract

ModelFunction

Properties:

  • id
  • name
  • description
  • handler
  • timeout - The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds and minimum is 1 second.
  • memorySize - The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
  • architectures
  • source_
  • sourceId
  • environment
Annotations
  • @BuiltValue()

Constructors

ModelFunction([void updates(ModelFunctionBuilder b)])
factory

Properties

architectures → BuiltList<Architecture>?
no setter
description String?
no setter
environment FunctionEnvironment?
no setter
handler String?
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
no setter
memorySize String?
The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
no setter
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source_ File?
no setter
sourceId String?
no setter
timeout int?
The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds and minimum is 1 second.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ModelFunctionBuilder)) ModelFunction
Rebuilds the instance.
inherited
toBuilder() ModelFunctionBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<ModelFunction>
no setter