@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFunctionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFunctionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFunctionRequest |
addTagsEntry(String key,
String value) |
CreateFunctionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFunctionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
FunctionCode |
getCode()
The code for the Lambda function.
|
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() |
String |
getFunctionName()
The name you want to assign to the function you are uploading.
|
String |
getHandler()
The function within your code that Lambda calls to begin execution.
|
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.
|
Boolean |
getPublish()
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as
an atomic operation.
|
String |
getRole()
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any
other Amazon Web Services (AWS) resources.
|
String |
getRuntime()
The runtime environment for the Lambda function you are uploading.
|
Map<String,String> |
getTags()
The list of tags (key-value pairs) assigned to the new function.
|
Integer |
getTimeout()
The function execution time at which Lambda should terminate the function.
|
TracingConfig |
getTracingConfig()
The parent object that contains your function's tracing settings.
|
VpcConfig |
getVpcConfig()
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
int |
hashCode() |
Boolean |
isPublish()
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as
an atomic operation.
|
void |
setCode(FunctionCode code)
The code for the Lambda function.
|
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) |
void |
setFunctionName(String functionName)
The name you want to assign to the function you are uploading.
|
void |
setHandler(String handler)
The function within your code that Lambda calls to begin execution.
|
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 |
setPublish(Boolean publish)
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as
an atomic operation.
|
void |
setRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any
other Amazon Web Services (AWS) resources.
|
void |
setRuntime(Runtime runtime)
The runtime environment for the Lambda function you are uploading.
|
void |
setRuntime(String runtime)
The runtime environment for the Lambda function you are uploading.
|
void |
setTags(Map<String,String> tags)
The list of tags (key-value pairs) assigned to the new function.
|
void |
setTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
void |
setTracingConfig(TracingConfig tracingConfig)
The parent object that contains your function's tracing settings.
|
void |
setVpcConfig(VpcConfig vpcConfig)
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateFunctionRequest |
withCode(FunctionCode code)
The code for the Lambda function.
|
CreateFunctionRequest |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
CreateFunctionRequest |
withDescription(String description)
A short, user-defined function description.
|
CreateFunctionRequest |
withEnvironment(Environment environment) |
CreateFunctionRequest |
withFunctionName(String functionName)
The name you want to assign to the function you are uploading.
|
CreateFunctionRequest |
withHandler(String handler)
The function within your code that Lambda calls to begin execution.
|
CreateFunctionRequest |
withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
CreateFunctionRequest |
withMemorySize(Integer memorySize)
The amount of memory, in MB, your Lambda function is given.
|
CreateFunctionRequest |
withPublish(Boolean publish)
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as
an atomic operation.
|
CreateFunctionRequest |
withRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any
other Amazon Web Services (AWS) resources.
|
CreateFunctionRequest |
withRuntime(Runtime runtime)
The runtime environment for the Lambda function you are uploading.
|
CreateFunctionRequest |
withRuntime(String runtime)
The runtime environment for the Lambda function you are uploading.
|
CreateFunctionRequest |
withTags(Map<String,String> tags)
The list of tags (key-value pairs) assigned to the new function.
|
CreateFunctionRequest |
withTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
CreateFunctionRequest |
withTracingConfig(TracingConfig tracingConfig)
The parent object that contains your function's tracing settings.
|
CreateFunctionRequest |
withVpcConfig(VpcConfig vpcConfig)
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
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 you want to assign to the function you are uploading. The function names appear in the console and are returned in the ListFunctions API. Function names are used to specify functions to other AWS Lambda API operations, such as Invoke. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name you want to assign to the function you are uploading. The function names appear in the console
and are returned in the ListFunctions API. Function names are used to specify functions to other
AWS Lambda API operations, such as Invoke. Note that the length constraint applies only to the ARN.
If you specify only the function name, it is limited to 64 characters in length.public String getFunctionName()
The name you want to assign to the function you are uploading. The function names appear in the console and are returned in the ListFunctions API. Function names are used to specify functions to other AWS Lambda API operations, such as Invoke. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
public CreateFunctionRequest withFunctionName(String functionName)
The name you want to assign to the function you are uploading. The function names appear in the console and are returned in the ListFunctions API. Function names are used to specify functions to other AWS Lambda API operations, such as Invoke. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name you want to assign to the function you are uploading. The function names appear in the console
and are returned in the ListFunctions API. Function names are used to specify functions to other
AWS Lambda API operations, such as Invoke. Note that the length constraint applies only to the ARN.
If you specify only the function name, it is limited to 64 characters in length.public void setRuntime(String runtime)
The runtime environment for the Lambda function you are uploading.
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".
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 parmaeter 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 you are uploading.
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".
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 parmaeter 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 you are uploading.
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".
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 parmaeter 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".
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 parmaeter 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 CreateFunctionRequest withRuntime(String runtime)
The runtime environment for the Lambda function you are uploading.
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".
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 parmaeter 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 you are uploading.
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".
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 parmaeter 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 you are uploading.
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".
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 parmaeter 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 you are uploading.
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".
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 parmaeter 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 CreateFunctionRequest withRuntime(Runtime runtime)
The runtime environment for the Lambda function you are uploading.
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".
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 parmaeter 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 you are uploading.
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".
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 parmaeter 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 setRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works.
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to
access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works.public String getRole()
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works.
public CreateFunctionRequest withRole(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works.
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to
access any other Amazon Web Services (AWS) resources. For more information, see AWS Lambda: How it Works.public void setHandler(String handler)
The function within your code that Lambda calls to begin execution. For Node.js, it is the
module-name.export value in your function. For Java, it can be
package.class-name::handler
or package.class-name
. For more information, see Lambda Function
Handler (Java).
handler
- The function within your code that Lambda calls to begin execution. For Node.js, it is the
module-name.export value in your function. For Java, it can be
package.class-name::handler
or package.class-name
. For more information, see Lambda
Function Handler (Java).public String getHandler()
The function within your code that Lambda calls to begin execution. For Node.js, it is the
module-name.export value in your function. For Java, it can be
package.class-name::handler
or package.class-name
. For more information, see Lambda Function
Handler (Java).
package.class-name::handler
or package.class-name
. For more information, see Lambda
Function Handler (Java).public CreateFunctionRequest withHandler(String handler)
The function within your code that Lambda calls to begin execution. For Node.js, it is the
module-name.export value in your function. For Java, it can be
package.class-name::handler
or package.class-name
. For more information, see Lambda Function
Handler (Java).
handler
- The function within your code that Lambda calls to begin execution. For Node.js, it is the
module-name.export value in your function. For Java, it can be
package.class-name::handler
or package.class-name
. For more information, see Lambda
Function Handler (Java).public void setCode(FunctionCode code)
The code for the Lambda function.
code
- The code for the Lambda function.public FunctionCode getCode()
The code for the Lambda function.
public CreateFunctionRequest withCode(FunctionCode code)
The code for the Lambda function.
code
- The code for the Lambda function.public void setDescription(String description)
A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
description
- A short, user-defined function description. Lambda does not use this value. Assign a meaningful
description as you see fit.public String getDescription()
A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
public CreateFunctionRequest withDescription(String description)
A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
description
- A short, user-defined function description. 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 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 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 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 CreateFunctionRequest withTimeout(Integer timeout)
The function execution time at which 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 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. Lambda uses this memory size to infer the amount of CPU and memory 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. Lambda uses this memory size to infer the
amount of CPU and memory 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. Lambda uses this memory size to infer the amount of CPU and memory 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 CreateFunctionRequest withMemorySize(Integer memorySize)
The amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU and memory 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. Lambda uses this memory size to infer the
amount of CPU and memory 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 setPublish(Boolean publish)
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.
publish
- This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a
version as an atomic operation.public Boolean getPublish()
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.
public CreateFunctionRequest withPublish(Boolean publish)
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.
publish
- This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a
version as an atomic operation.public Boolean isPublish()
This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.
public void setVpcConfig(VpcConfig vpcConfig)
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
vpcConfig
- If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of
security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one
security group and one subnet ID.public VpcConfig getVpcConfig()
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
public CreateFunctionRequest withVpcConfig(VpcConfig vpcConfig)
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
vpcConfig
- If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of
security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one
security group and one subnet ID.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 CreateFunctionRequest 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 setEnvironment(Environment environment)
environment
- public Environment getEnvironment()
public CreateFunctionRequest withEnvironment(Environment environment)
environment
- public void setKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.
kMSKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If
not provided, AWS Lambda will use a default service key.public String getKMSKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.
public CreateFunctionRequest withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.
kMSKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If
not provided, AWS Lambda will use a default service key.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 CreateFunctionRequest 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 Map<String,String> getTags()
The list of tags (key-value pairs) assigned to the new function.
public void setTags(Map<String,String> tags)
The list of tags (key-value pairs) assigned to the new function.
tags
- The list of tags (key-value pairs) assigned to the new function.public CreateFunctionRequest withTags(Map<String,String> tags)
The list of tags (key-value pairs) assigned to the new function.
tags
- The list of tags (key-value pairs) assigned to the new function.public CreateFunctionRequest addTagsEntry(String key, String value)
public CreateFunctionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFunctionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.