@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFunctionConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFunctionConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFunctionConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DeadLetterConfig |
getDeadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
String |
getDescription()
A short user-defined function description.
|
Environment |
getEnvironment()
The parent object that contains your environment's configuration settings.
|
String |
getFunctionName()
The name of the Lambda function.
|
String |
getHandler()
The function that Lambda calls to begin executing your function.
|
String |
getKMSKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
Integer |
getMemorySize()
The amount of memory, in MB, your Lambda function is given.
|
String |
getRole()
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
|
String |
getRuntime()
The runtime environment for the Lambda function.
|
Integer |
getTimeout()
The function execution time at which AWS Lambda should terminate the function.
|
TracingConfig |
getTracingConfig()
The parent object that contains your function's tracing settings.
|
VpcConfig |
getVpcConfig() |
int |
hashCode() |
void |
setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
void |
setDescription(String description)
A short user-defined function description.
|
void |
setEnvironment(Environment environment)
The parent object that contains your environment's configuration settings.
|
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 |
setKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
void |
setMemorySize(Integer memorySize)
The amount of memory, in MB, your Lambda function is given.
|
void |
setRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
|
void |
setRuntime(Runtime runtime)
The runtime environment for the Lambda function.
|
void |
setRuntime(String runtime)
The runtime environment for the Lambda function.
|
void |
setTimeout(Integer timeout)
The function execution time at which AWS Lambda should terminate the function.
|
void |
setTracingConfig(TracingConfig tracingConfig)
The parent object that contains your function's tracing settings.
|
void |
setVpcConfig(VpcConfig vpcConfig) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateFunctionConfigurationRequest |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
UpdateFunctionConfigurationRequest |
withDescription(String description)
A short user-defined function description.
|
UpdateFunctionConfigurationRequest |
withEnvironment(Environment environment)
The parent object that contains your environment's configuration settings.
|
UpdateFunctionConfigurationRequest |
withFunctionName(String functionName)
The name of the Lambda function.
|
UpdateFunctionConfigurationRequest |
withHandler(String handler)
The function that Lambda calls to begin executing your function.
|
UpdateFunctionConfigurationRequest |
withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
UpdateFunctionConfigurationRequest |
withMemorySize(Integer memorySize)
The amount of memory, in MB, your Lambda function is given.
|
UpdateFunctionConfigurationRequest |
withRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
|
UpdateFunctionConfigurationRequest |
withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
|
UpdateFunctionConfigurationRequest |
withRuntime(String runtime)
The runtime environment for the Lambda function.
|
UpdateFunctionConfigurationRequest |
withTimeout(Integer timeout)
The function execution time at which AWS Lambda should terminate the function.
|
UpdateFunctionConfigurationRequest |
withTracingConfig(TracingConfig tracingConfig)
The parent object that contains your function's tracing settings.
|
UpdateFunctionConfigurationRequest |
withVpcConfig(VpcConfig vpcConfig) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFunctionName(String 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.
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.
public String 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.
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.
public UpdateFunctionConfigurationRequest withFunctionName(String 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.
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.
public void setRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.public String getRole()
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
public UpdateFunctionConfigurationRequest withRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.public void setHandler(String handler)
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.
handler
- The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.public String getHandler()
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.
module-name.export
value in your function.public UpdateFunctionConfigurationRequest withHandler(String handler)
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.
handler
- The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export
value in your function.public void setDescription(String description)
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
description
- A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful
description as you see fit.public String getDescription()
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
public UpdateFunctionConfigurationRequest withDescription(String description)
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
description
- A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful
description as you see fit.public void setTimeout(Integer 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.
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.public Integer 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.
public UpdateFunctionConfigurationRequest withTimeout(Integer 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.
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.public void setMemorySize(Integer 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.
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.public Integer 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.
public UpdateFunctionConfigurationRequest withMemorySize(Integer 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.
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.public void setVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public VpcConfig getVpcConfig()
public UpdateFunctionConfigurationRequest withVpcConfig(VpcConfig vpcConfig)
vpcConfig
- public void setEnvironment(Environment environment)
The parent object that contains your environment's configuration settings.
environment
- The parent object that contains your environment's configuration settings.public Environment getEnvironment()
The parent object that contains your environment's configuration settings.
public UpdateFunctionConfigurationRequest withEnvironment(Environment environment)
The parent object that contains your environment's configuration settings.
environment
- The parent object that contains your environment's configuration settings.public void setRuntime(String runtime)
The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
runtime
- The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
Runtime
public String getRuntime()
The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
Runtime
public UpdateFunctionConfigurationRequest withRuntime(String runtime)
The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
runtime
- The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
Runtime
public void setRuntime(Runtime runtime)
The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
runtime
- The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
Runtime
public UpdateFunctionConfigurationRequest withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
runtime
- The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6".
Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can request a one-time extension until June 30, 2017 by going to the Lambda console and following the instructions provided. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.
Runtime
public void setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
deadLetterConfig
- The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS
topic.public DeadLetterConfig getDeadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
public UpdateFunctionConfigurationRequest withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
deadLetterConfig
- The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS
topic.public void setKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.
kMSKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If
you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.public String getKMSKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.
public UpdateFunctionConfigurationRequest withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.
kMSKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If
you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.public void setTracingConfig(TracingConfig tracingConfig)
The parent object that contains your function's tracing settings.
tracingConfig
- The parent object that contains your function's tracing settings.public TracingConfig getTracingConfig()
The parent object that contains your function's tracing settings.
public UpdateFunctionConfigurationRequest withTracingConfig(TracingConfig tracingConfig)
The parent object that contains your function's tracing settings.
tracingConfig
- The parent object that contains your function's tracing settings.public String toString()
toString
in class Object
Object.toString()
public UpdateFunctionConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.