Class GetFunctionConfigurationResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.GetFunctionConfigurationResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetFunctionConfigurationResult extends Object implements Serializable, Cloneable
A complex type that describes function metadata.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetFunctionConfigurationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.String
getDescription()
The user-provided description.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
getLastModified()
The time stamp of the last time you updated the 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.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
setDescription(String description)
The user-provided description.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
setLastModified(String lastModified)
The time stamp of the last time you updated the 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
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
withDescription(String description)
The user-provided description.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
withLastModified(String lastModified)
The time stamp of the last time you updated the 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
withVersion(String version)
The version of the Lambda function.GetFunctionConfigurationResult
withVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
-
-
-
Method Detail
-
setFunctionName
public void setFunctionName(String functionName)
The name of the function.
- Parameters:
functionName
- The name of the function.
-
getFunctionName
public String getFunctionName()
The name of the function.
- Returns:
- The name of the function.
-
withFunctionName
public GetFunctionConfigurationResult withFunctionName(String functionName)
The name of the function.
- Parameters:
functionName
- The name of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFunctionArn
public void setFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
- Parameters:
functionArn
- The Amazon Resource Name (ARN) assigned to the function.
-
getFunctionArn
public String getFunctionArn()
The Amazon Resource Name (ARN) assigned to the function.
- Returns:
- The Amazon Resource Name (ARN) assigned to the function.
-
withFunctionArn
public GetFunctionConfigurationResult withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
- Parameters:
functionArn
- The Amazon Resource Name (ARN) assigned to the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRuntime
public void setRuntime(String runtime)
The runtime environment for the Lambda function.
- Parameters:
runtime
- The runtime environment for the Lambda function.- See Also:
Runtime
-
getRuntime
public String getRuntime()
The runtime environment for the Lambda function.
- Returns:
- The runtime environment for the Lambda function.
- See Also:
Runtime
-
withRuntime
public GetFunctionConfigurationResult withRuntime(String runtime)
The runtime environment for the Lambda function.
- Parameters:
runtime
- The runtime environment for the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Runtime
-
setRuntime
public void setRuntime(Runtime runtime)
The runtime environment for the Lambda function.
- Parameters:
runtime
- The runtime environment for the Lambda function.- See Also:
Runtime
-
withRuntime
public GetFunctionConfigurationResult withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
- Parameters:
runtime
- The runtime environment for the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Runtime
-
setRole
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.
- Parameters:
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.
-
getRole
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.
- Returns:
- 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.
-
withRole
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHandler
public void setHandler(String handler)
The function Lambda calls to begin executing your function.
- Parameters:
handler
- The function Lambda calls to begin executing your function.
-
getHandler
public String getHandler()
The function Lambda calls to begin executing your function.
- Returns:
- The function Lambda calls to begin executing your function.
-
withHandler
public GetFunctionConfigurationResult withHandler(String handler)
The function Lambda calls to begin executing your function.
- Parameters:
handler
- The function Lambda calls to begin executing your function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCodeSize
public void setCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
- Parameters:
codeSize
- The size, in bytes, of the function .zip file you uploaded.
-
getCodeSize
public Long getCodeSize()
The size, in bytes, of the function .zip file you uploaded.
- Returns:
- The size, in bytes, of the function .zip file you uploaded.
-
withCodeSize
public GetFunctionConfigurationResult withCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
- Parameters:
codeSize
- The size, in bytes, of the function .zip file you uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
The user-provided description.
- Parameters:
description
- The user-provided description.
-
getDescription
public String getDescription()
The user-provided description.
- Returns:
- The user-provided description.
-
withDescription
public GetFunctionConfigurationResult withDescription(String description)
The user-provided description.
- Parameters:
description
- The user-provided description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeout
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.
- Parameters:
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.
-
getTimeout
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.
- Returns:
- 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.
-
withTimeout
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMemorySize
public void setMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
- Parameters:
memorySize
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
-
getMemorySize
public Integer getMemorySize()
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
- Returns:
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
-
withMemorySize
public GetFunctionConfigurationResult withMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
- Parameters:
memorySize
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModified
public void setLastModified(String lastModified)
The time stamp of the last time you updated the function.
- Parameters:
lastModified
- The time stamp of the last time you updated the function.
-
getLastModified
public String getLastModified()
The time stamp of the last time you updated the function.
- Returns:
- The time stamp of the last time you updated the function.
-
withLastModified
public GetFunctionConfigurationResult withLastModified(String lastModified)
The time stamp of the last time you updated the function.
- Parameters:
lastModified
- The time stamp of the last time you updated the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCodeSha256
public void setCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
- Parameters:
codeSha256
- It is the SHA256 hash of your function deployment package.
-
getCodeSha256
public String getCodeSha256()
It is the SHA256 hash of your function deployment package.
- Returns:
- It is the SHA256 hash of your function deployment package.
-
withCodeSha256
public GetFunctionConfigurationResult withCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
- Parameters:
codeSha256
- It is the SHA256 hash of your function deployment package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(String version)
The version of the Lambda function.
- Parameters:
version
- The version of the Lambda function.
-
getVersion
public String getVersion()
The version of the Lambda function.
- Returns:
- The version of the Lambda function.
-
withVersion
public GetFunctionConfigurationResult withVersion(String version)
The version of the Lambda function.
- Parameters:
version
- The version of the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcConfig
public void setVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
- Parameters:
vpcConfig
- VPC configuration associated with your Lambda function.
-
getVpcConfig
public VpcConfigResponse getVpcConfig()
VPC configuration associated with your Lambda function.
- Returns:
- VPC configuration associated with your Lambda function.
-
withVpcConfig
public GetFunctionConfigurationResult withVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
- Parameters:
vpcConfig
- VPC configuration associated with your Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetFunctionConfigurationResult clone()
-
-