public class UpdateFunctionConfigurationResult extends Object implements Serializable, Cloneable
A complex type that describes function metadata.
Constructor and Description |
---|
UpdateFunctionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
UpdateFunctionConfigurationResult |
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.
|
UpdateFunctionConfigurationResult |
withCodeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
|
UpdateFunctionConfigurationResult |
withCodeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
|
UpdateFunctionConfigurationResult |
withDescription(String description)
The user-provided description.
|
UpdateFunctionConfigurationResult |
withFunctionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
|
UpdateFunctionConfigurationResult |
withFunctionName(String functionName)
The name of the function.
|
UpdateFunctionConfigurationResult |
withHandler(String handler)
The function Lambda calls to begin executing your function.
|
UpdateFunctionConfigurationResult |
withLastModified(String lastModified)
The time stamp of the last time you updated the function.
|
UpdateFunctionConfigurationResult |
withMemorySize(Integer memorySize)
The memory size, in MB, you configured for the function.
|
UpdateFunctionConfigurationResult |
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.
|
UpdateFunctionConfigurationResult |
withRuntime(Runtime runtime)
The runtime environment for the Lambda function.
|
UpdateFunctionConfigurationResult |
withRuntime(String runtime)
The runtime environment for the Lambda function.
|
UpdateFunctionConfigurationResult |
withTimeout(Integer timeout)
The function execution time at which Lambda should terminate the
function.
|
UpdateFunctionConfigurationResult |
withVersion(String version)
The version of the Lambda function.
|
UpdateFunctionConfigurationResult |
withVpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
|
public String getFunctionName()
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- The name of the function.public UpdateFunctionConfigurationResult withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- The name of the function.public String getFunctionArn()
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
public void setFunctionArn(String functionArn)
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionArn
- The Amazon Resource Name (ARN) assigned to the function.public UpdateFunctionConfigurationResult withFunctionArn(String functionArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionArn
- The Amazon Resource Name (ARN) assigned to the function.public String getRuntime()
Constraints:
Allowed Values: nodejs, java8, python2.7
Runtime
public void setRuntime(String runtime)
Constraints:
Allowed Values: nodejs, java8, python2.7
runtime
- The runtime environment for the Lambda function.Runtime
public UpdateFunctionConfigurationResult withRuntime(String runtime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: nodejs, java8, python2.7
runtime
- The runtime environment for the Lambda function.Runtime
public void setRuntime(Runtime runtime)
Constraints:
Allowed Values: nodejs, java8, python2.7
runtime
- The runtime environment for the Lambda function.Runtime
public UpdateFunctionConfigurationResult withRuntime(Runtime runtime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: nodejs, java8, python2.7
runtime
- The runtime environment for the Lambda function.Runtime
public String getRole()
Constraints:
Pattern: arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
public void setRole(String role)
Constraints:
Pattern: arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
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 UpdateFunctionConfigurationResult withRole(String role)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
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 getHandler()
Constraints:
Length: 0 - 128
Pattern: [^\s]+
public void setHandler(String handler)
Constraints:
Length: 0 - 128
Pattern: [^\s]+
handler
- The function Lambda calls to begin executing your function.public UpdateFunctionConfigurationResult withHandler(String handler)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 128
Pattern: [^\s]+
handler
- The function Lambda calls to begin executing your function.public Long getCodeSize()
public void setCodeSize(Long codeSize)
codeSize
- The size, in bytes, of the function .zip file you uploaded.public UpdateFunctionConfigurationResult withCodeSize(Long codeSize)
Returns a reference to this object so that method calls can be chained together.
codeSize
- The size, in bytes, of the function .zip file you uploaded.public String getDescription()
Constraints:
Length: 0 - 256
public void setDescription(String description)
Constraints:
Length: 0 - 256
description
- The user-provided description.public UpdateFunctionConfigurationResult withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
description
- The user-provided description.public Integer getTimeout()
Constraints:
Range: 1 -
public void setTimeout(Integer timeout)
Constraints:
Range: 1 -
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 UpdateFunctionConfigurationResult withTimeout(Integer timeout)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
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 getMemorySize()
Constraints:
Range: 128 - 1536
public void setMemorySize(Integer memorySize)
Constraints:
Range: 128 - 1536
memorySize
- The memory size, in MB, you configured for the function. Must be a
multiple of 64 MB.public UpdateFunctionConfigurationResult withMemorySize(Integer memorySize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 128 - 1536
memorySize
- The memory size, in MB, you configured for the function. Must be a
multiple of 64 MB.public String getLastModified()
public void setLastModified(String lastModified)
lastModified
- The time stamp of the last time you updated the function.public UpdateFunctionConfigurationResult withLastModified(String lastModified)
Returns a reference to this object so that method calls can be chained together.
lastModified
- The time stamp of the last time you updated the function.public String getCodeSha256()
public void setCodeSha256(String codeSha256)
codeSha256
- It is the SHA256 hash of your function deployment package.public UpdateFunctionConfigurationResult withCodeSha256(String codeSha256)
Returns a reference to this object so that method calls can be chained together.
codeSha256
- It is the SHA256 hash of your function deployment package.public String getVersion()
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
public void setVersion(String version)
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
version
- The version of the Lambda function.public UpdateFunctionConfigurationResult withVersion(String version)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
version
- The version of the Lambda function.public VpcConfigResponse getVpcConfig()
public void setVpcConfig(VpcConfigResponse vpcConfig)
vpcConfig
- VPC configuration associated with your Lambda function.public UpdateFunctionConfigurationResult withVpcConfig(VpcConfigResponse vpcConfig)
Returns a reference to this object so that method calls can be chained together.
vpcConfig
- VPC configuration associated with your Lambda function.public String toString()
toString
in class Object
Object.toString()
public UpdateFunctionConfigurationResult clone()
Copyright © 2016. All rights reserved.