@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFunctionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that describes function metadata.
Constructor and Description |
---|
GetFunctionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetFunctionConfigurationResult |
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.
|
GetFunctionConfigurationResult |
withCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
|
GetFunctionConfigurationResult |
withCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
|
GetFunctionConfigurationResult |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
GetFunctionConfigurationResult |
withDescription(String description)
The user-provided description.
|
GetFunctionConfigurationResult |
withEnvironment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
|
GetFunctionConfigurationResult |
withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
|
GetFunctionConfigurationResult |
withFunctionName(String functionName)
The name of the function.
|
GetFunctionConfigurationResult |
withHandler(String handler)
The function Lambda calls to begin executing your function.
|
GetFunctionConfigurationResult |
withKMSKeyArn(String kMSKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
GetFunctionConfigurationResult |
withLastModified(String lastModified)
The time stamp of the last time you updated the function.
|
GetFunctionConfigurationResult |
withMasterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
|
GetFunctionConfigurationResult |
withMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function.
|
GetFunctionConfigurationResult |
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.
|
GetFunctionConfigurationResult |
withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
|
GetFunctionConfigurationResult |
withRuntime(String runtime)
The runtime environment for the Lambda function.
|
GetFunctionConfigurationResult |
withTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
GetFunctionConfigurationResult |
withTracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
|
GetFunctionConfigurationResult |
withVersion(String version)
The version of the Lambda function.
|
GetFunctionConfigurationResult |
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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult 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 GetFunctionConfigurationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.