Class UpdateFunctionConfigurationRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A short user-defined function description.The name of the Lambda function.The function that Lambda calls to begin executing your function.The amount of memory, in MB, your Lambda function is given.getRole()
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.The function execution time at which AWS Lambda should terminate the function.int
hashCode()
void
setDescription
(String description) A short user-defined function description.void
setFunctionName
(String functionName) The name of the Lambda function.void
setHandler
(String handler) The function that Lambda calls to begin executing your function.void
setMemorySize
(Integer memorySize) The amount of memory, in MB, your Lambda function is given.void
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.void
setRuntime
(Runtime runtime) void
setRuntime
(String runtime) void
setTimeout
(Integer timeout) The function execution time at which AWS Lambda should terminate the function.void
setVpcConfig
(VpcConfig vpcConfig) toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) A short user-defined function description.withFunctionName
(String functionName) The name of the Lambda function.withHandler
(String handler) The function that Lambda calls to begin executing your function.withMemorySize
(Integer memorySize) The amount of memory, in MB, your Lambda function is given.The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.withRuntime
(Runtime runtime) withRuntime
(String runtime) withTimeout
(Integer timeout) The function execution time at which AWS Lambda should terminate the function.withVpcConfig
(VpcConfig vpcConfig) Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UpdateFunctionConfigurationRequest
public UpdateFunctionConfigurationRequest()
-
-
Method Details
-
setFunctionName
The name of the Lambda function.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Parameters:
functionName
- The name of the Lambda function.You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
-
getFunctionName
The name of the Lambda function.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Returns:
- The name of the Lambda function.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
-
withFunctionName
The name of the Lambda function.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Parameters:
functionName
- The name of the Lambda function.You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRole
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
- Parameters:
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
-
getRole
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
-
withRole
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
- Parameters:
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHandler
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.- Parameters:
handler
- The function that Lambda calls to begin executing your function. For Node.js, it is themodule-name.export
value in your function.
-
getHandler
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.- Returns:
- The function that Lambda calls to begin executing your function.
For Node.js, it is the
module-name.export
value in your function.
-
withHandler
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.- Parameters:
handler
- The function that Lambda calls to begin executing your function. For Node.js, it is themodule-name.export
value in your function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
- Parameters:
description
- A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
-
getDescription
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
- Returns:
- A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
-
withDescription
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
- Parameters:
description
- A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeout
The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
- Parameters:
timeout
- The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
-
getTimeout
The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
- Returns:
- The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
-
withTimeout
The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
- Parameters:
timeout
- The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMemorySize
The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
- Parameters:
memorySize
- The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
-
getMemorySize
The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
- Returns:
- The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
-
withMemorySize
The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
- Parameters:
memorySize
- The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcConfig
- Parameters:
vpcConfig
-
-
getVpcConfig
- Returns:
-
withVpcConfig
- Parameters:
vpcConfig
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRuntime
- Parameters:
runtime
-- See Also:
-
getRuntime
- Returns:
- See Also:
-
withRuntime
- Parameters:
runtime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setRuntime
- Parameters:
runtime
-- See Also:
-
withRuntime
- Parameters:
runtime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-