@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFunctionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that describes function metadata.
Constructor and Description |
---|
CreateFunctionResult() |
Modifier and Type | Method and Description |
---|---|
CreateFunctionResult |
clone() |
boolean |
equals(Object obj) |
String |
getCodeSha256()
It is the SHA256 hash of your function deployment package.
|
Long |
getCodeSize()
The size, in bytes, of the function .zip file you uploaded.
|
DeadLetterConfig |
getDeadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
String |
getDescription()
The user-provided description.
|
EnvironmentResponse |
getEnvironment()
The parent object that contains your environment's configuration settings.
|
String |
getFunctionArn()
The Amazon Resource Name (ARN) assigned to the function.
|
String |
getFunctionName()
The name of the function.
|
String |
getHandler()
The function 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.
|
String |
getLastModified()
The time stamp of the last time you updated the function.
|
String |
getMasterArn()
Returns the ARN (Amazon Resource Name) of the master function.
|
Integer |
getMemorySize()
The memory size, in MB, you configured for the function.
|
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.
|
Integer |
getTimeout()
The function execution time at which Lambda should terminate the function.
|
TracingConfigResponse |
getTracingConfig()
The parent object that contains your function's tracing settings.
|
String |
getVersion()
The version of the Lambda function.
|
VpcConfigResponse |
getVpcConfig()
VPC configuration associated with your Lambda function.
|
int |
hashCode() |
void |
setCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
|
void |
setCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
|
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)
The user-provided description.
|
void |
setEnvironment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
|
void |
setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
|
void |
setFunctionName(String functionName)
The name of the function.
|
void |
setHandler(String handler)
The function 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 |
setLastModified(String lastModified)
The time stamp of the last time you updated the function.
|
void |
setMasterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
|
void |
setMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function.
|
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.
|
void |
setRuntime(String runtime)
The runtime environment for the Lambda function.
|
void |
setTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
void |
setTracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
|
void |
setVersion(String version)
The version of the Lambda function.
|
void |
setVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateFunctionResult |
withCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
|
CreateFunctionResult |
withCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
|
CreateFunctionResult |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
CreateFunctionResult |
withDescription(String description)
The user-provided description.
|
CreateFunctionResult |
withEnvironment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
|
CreateFunctionResult |
withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
|
CreateFunctionResult |
withFunctionName(String functionName)
The name of the function.
|
CreateFunctionResult |
withHandler(String handler)
The function Lambda calls to begin executing your function.
|
CreateFunctionResult |
withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
CreateFunctionResult |
withLastModified(String lastModified)
The time stamp of the last time you updated the function.
|
CreateFunctionResult |
withMasterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
|
CreateFunctionResult |
withMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function.
|
CreateFunctionResult |
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.
|
CreateFunctionResult |
withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
|
CreateFunctionResult |
withRuntime(String runtime)
The runtime environment for the Lambda function.
|
CreateFunctionResult |
withTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
CreateFunctionResult |
withTracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
|
CreateFunctionResult |
withVersion(String version)
The version of the Lambda function.
|
CreateFunctionResult |
withVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFunctionName(String functionName)
The name of the function. 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 of the function. 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 of the function. 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 CreateFunctionResult withFunctionName(String functionName)
The name of the function. 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 of the function. 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 setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
functionArn
- The Amazon Resource Name (ARN) assigned to the function.public String getFunctionArn()
The Amazon Resource Name (ARN) assigned to the function.
public CreateFunctionResult withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
functionArn
- The Amazon Resource Name (ARN) assigned to the function.public void setRuntime(String runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
public String getRuntime()
The runtime environment for the Lambda function.
Runtime
public CreateFunctionResult withRuntime(String runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
public void setRuntime(Runtime runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
public CreateFunctionResult withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.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.
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.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.
public CreateFunctionResult 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.
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.public void setHandler(String handler)
The function Lambda calls to begin executing your function.
handler
- The function Lambda calls to begin executing your function.public String getHandler()
The function Lambda calls to begin executing your function.
public CreateFunctionResult withHandler(String handler)
The function Lambda calls to begin executing your function.
handler
- The function Lambda calls to begin executing your function.public void setCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
codeSize
- The size, in bytes, of the function .zip file you uploaded.public Long getCodeSize()
The size, in bytes, of the function .zip file you uploaded.
public CreateFunctionResult withCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
codeSize
- The size, in bytes, of the function .zip file you uploaded.public void setDescription(String description)
The user-provided description.
description
- The user-provided description.public String getDescription()
The user-provided description.
public CreateFunctionResult withDescription(String description)
The user-provided description.
description
- The user-provided description.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 CreateFunctionResult 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 memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
memorySize
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.public Integer getMemorySize()
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
public CreateFunctionResult withMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
memorySize
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.public void setLastModified(String lastModified)
The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats.
lastModified
- The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying
with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information,
see Date and Time Formats.public String getLastModified()
The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats.
public CreateFunctionResult withLastModified(String lastModified)
The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats.
lastModified
- The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying
with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information,
see Date and Time Formats.public void setCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
codeSha256
- It is the SHA256 hash of your function deployment package.public String getCodeSha256()
It is the SHA256 hash of your function deployment package.
public CreateFunctionResult withCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
codeSha256
- It is the SHA256 hash of your function deployment package.public void setVersion(String version)
The version of the Lambda function.
version
- The version of the Lambda function.public String getVersion()
The version of the Lambda function.
public CreateFunctionResult withVersion(String version)
The version of the Lambda function.
version
- The version of the Lambda function.public void setVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
vpcConfig
- VPC configuration associated with your Lambda function.public VpcConfigResponse getVpcConfig()
VPC configuration associated with your Lambda function.
public CreateFunctionResult withVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
vpcConfig
- VPC configuration associated with your Lambda function.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 CreateFunctionResult 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(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
environment
- The parent object that contains your environment's configuration settings.public EnvironmentResponse getEnvironment()
The parent object that contains your environment's configuration settings.
public CreateFunctionResult withEnvironment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
environment
- The parent object that contains your environment's configuration settings.public void setKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
kMSKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If
empty, it means you are using the AWS Lambda default service key.public String getKMSKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
public CreateFunctionResult withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
kMSKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If
empty, it means you are using the AWS Lambda default service key.public void setTracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
tracingConfig
- The parent object that contains your function's tracing settings.public TracingConfigResponse getTracingConfig()
The parent object that contains your function's tracing settings.
public CreateFunctionResult withTracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
tracingConfig
- The parent object that contains your function's tracing settings.public void setMasterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
masterArn
- Returns the ARN (Amazon Resource Name) of the master function.public String getMasterArn()
Returns the ARN (Amazon Resource Name) of the master function.
public CreateFunctionResult withMasterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
masterArn
- Returns the ARN (Amazon Resource Name) of the master function.public String toString()
toString
in class Object
Object.toString()
public CreateFunctionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.