Class PublishVersionResult
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that describes function metadata.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
It is the SHA256 hash of your function deployment package.The size, in bytes, of the function .zip file you uploaded.The user-provided description.The Amazon Resource Name (ARN) assigned to the function.The name of the function.The function Lambda calls to begin executing your function.The time stamp of the last time you updated the function.The memory size, in MB, you configured for the function.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.The runtime environment for the Lambda function.The function execution time at which Lambda should terminate the function.The version of the Lambda function.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCodeSha256
(String codeSha256) It is the SHA256 hash of your function deployment package.withCodeSize
(Long codeSize) The size, in bytes, of the function .zip file you uploaded.withDescription
(String description) The user-provided description.withFunctionArn
(String functionArn) The Amazon Resource Name (ARN) assigned to the function.withFunctionName
(String functionName) The name of the function.withHandler
(String handler) The function Lambda calls to begin executing your function.withLastModified
(String lastModified) The time stamp of the last time you updated the function.withMemorySize
(Integer memorySize) The memory size, in MB, you configured for the function.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.withRuntime
(Runtime runtime) The runtime environment for the Lambda function.withRuntime
(String runtime) The runtime environment for the Lambda function.withTimeout
(Integer timeout) The function execution time at which Lambda should terminate the function.withVersion
(String version) The version of the Lambda function.withVpcConfig
(VpcConfigResponse vpcConfig) VPC configuration associated with your Lambda function.
-
Constructor Details
-
PublishVersionResult
public PublishVersionResult()
-
-
Method Details
-
setFunctionName
The name of the function.
- Parameters:
functionName
- The name of the function.
-
getFunctionName
The name of the function.
- Returns:
- The name of the function.
-
withFunctionName
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
The Amazon Resource Name (ARN) assigned to the function.
- Parameters:
functionArn
- The Amazon Resource Name (ARN) assigned to the function.
-
getFunctionArn
The Amazon Resource Name (ARN) assigned to the function.
- Returns:
- The Amazon Resource Name (ARN) assigned to the function.
-
withFunctionArn
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
The runtime environment for the Lambda function.
- Parameters:
runtime
- The runtime environment for the Lambda function.- See Also:
-
getRuntime
The runtime environment for the Lambda function.
- Returns:
- The runtime environment for the Lambda function.
- See Also:
-
withRuntime
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:
-
setRuntime
The runtime environment for the Lambda function.
- Parameters:
runtime
- The runtime environment for the Lambda function.- See Also:
-
withRuntime
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:
-
setRole
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
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
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
The function Lambda calls to begin executing your function.
- Parameters:
handler
- The function Lambda calls to begin executing your function.
-
getHandler
The function Lambda calls to begin executing your function.
- Returns:
- The function Lambda calls to begin executing your function.
-
withHandler
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
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
The size, in bytes, of the function .zip file you uploaded.
- Returns:
- The size, in bytes, of the function .zip file you uploaded.
-
withCodeSize
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
The user-provided description.
- Parameters:
description
- The user-provided description.
-
getDescription
The user-provided description.
- Returns:
- The user-provided description.
-
withDescription
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
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
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
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
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
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
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
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
The time stamp of the last time you updated the function.
- Returns:
- The time stamp of the last time you updated the function.
-
withLastModified
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
It is the SHA256 hash of your function deployment package.
- Parameters:
codeSha256
- It is the SHA256 hash of your function deployment package.
-
getCodeSha256
It is the SHA256 hash of your function deployment package.
- Returns:
- It is the SHA256 hash of your function deployment package.
-
withCodeSha256
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
The version of the Lambda function.
- Parameters:
version
- The version of the Lambda function.
-
getVersion
The version of the Lambda function.
- Returns:
- The version of the Lambda function.
-
withVersion
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
VPC configuration associated with your Lambda function.
- Parameters:
vpcConfig
- VPC configuration associated with your Lambda function.
-
getVpcConfig
VPC configuration associated with your Lambda function.
- Returns:
- VPC configuration associated with your Lambda function.
-
withVpcConfig
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-