@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFunctionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A Lambda function's configuration settings.
Constructor and Description |
---|
GetFunctionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetFunctionConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getCodeSha256()
The SHA256 hash of the function's deployment package.
|
Long |
getCodeSize()
The size of the function's deployment package in bytes.
|
DeadLetterConfig |
getDeadLetterConfig()
The function's dead letter queue.
|
String |
getDescription()
The function's description.
|
EnvironmentResponse |
getEnvironment()
The function's environment variables.
|
String |
getFunctionArn()
The function's Amazon Resource Name.
|
String |
getFunctionName()
The name of the function.
|
String |
getHandler()
The function Lambda calls to begin executing your function.
|
String |
getKMSKeyArn()
The KMS key used to encrypt the function's environment variables.
|
String |
getLastModified()
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ssTZD).
|
String |
getMasterArn()
The ARN of the master function.
|
Integer |
getMemorySize()
The memory allocated to the function
|
String |
getRevisionId()
Represents the latest updated revision of the function or alias.
|
String |
getRole()
The function's execution role.
|
String |
getRuntime()
The runtime environment for the Lambda function.
|
Integer |
getTimeout()
The amount of time that Lambda allows a function to run before terminating it.
|
TracingConfigResponse |
getTracingConfig()
The function's AWS X-Ray tracing configuration.
|
String |
getVersion()
The version of the Lambda function.
|
VpcConfigResponse |
getVpcConfig()
The function's networking configuration.
|
int |
hashCode() |
void |
setCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
void |
setCodeSize(Long codeSize)
The size of the function's deployment package in bytes.
|
void |
setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
void |
setDescription(String description)
The function's description.
|
void |
setEnvironment(EnvironmentResponse environment)
The function's environment variables.
|
void |
setFunctionArn(String functionArn)
The function's Amazon Resource Name.
|
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 KMS key used to encrypt the function's environment variables.
|
void |
setLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ssTZD).
|
void |
setMasterArn(String masterArn)
The ARN of the master function.
|
void |
setMemorySize(Integer memorySize)
The memory allocated to the function
|
void |
setRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
void |
setRole(String role)
The function's execution role.
|
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 amount of time that Lambda allows a function to run before terminating it.
|
void |
setTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
|
void |
setVersion(String version)
The version of the Lambda function.
|
void |
setVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetFunctionConfigurationResult |
withCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
GetFunctionConfigurationResult |
withCodeSize(Long codeSize)
The size of the function's deployment package in bytes.
|
GetFunctionConfigurationResult |
withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
GetFunctionConfigurationResult |
withDescription(String description)
The function's description.
|
GetFunctionConfigurationResult |
withEnvironment(EnvironmentResponse environment)
The function's environment variables.
|
GetFunctionConfigurationResult |
withFunctionArn(String functionArn)
The function's Amazon Resource Name.
|
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 KMS key used to encrypt the function's environment variables.
|
GetFunctionConfigurationResult |
withLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ssTZD).
|
GetFunctionConfigurationResult |
withMasterArn(String masterArn)
The ARN of the master function.
|
GetFunctionConfigurationResult |
withMemorySize(Integer memorySize)
The memory allocated to the function
|
GetFunctionConfigurationResult |
withRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
GetFunctionConfigurationResult |
withRole(String role)
The function's execution role.
|
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 amount of time that Lambda allows a function to run before terminating it.
|
GetFunctionConfigurationResult |
withTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
|
GetFunctionConfigurationResult |
withVersion(String version)
The version of the Lambda function.
|
GetFunctionConfigurationResult |
withVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public String getFunctionName()
The name of the function.
public GetFunctionConfigurationResult withFunctionName(String functionName)
The name of the function.
functionName
- The name of the function.public void setFunctionArn(String functionArn)
The function's Amazon Resource Name.
functionArn
- The function's Amazon Resource Name.public String getFunctionArn()
The function's Amazon Resource Name.
public GetFunctionConfigurationResult withFunctionArn(String functionArn)
The function's Amazon Resource Name.
functionArn
- The function's Amazon Resource Name.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 function's execution role.
role
- The function's execution role.public String getRole()
The function's execution role.
public GetFunctionConfigurationResult withRole(String role)
The function's execution role.
role
- The function's execution role.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 of the function's deployment package in bytes.
codeSize
- The size of the function's deployment package in bytes.public Long getCodeSize()
The size of the function's deployment package in bytes.
public GetFunctionConfigurationResult withCodeSize(Long codeSize)
The size of the function's deployment package in bytes.
codeSize
- The size of the function's deployment package in bytes.public void setDescription(String description)
The function's description.
description
- The function's description.public String getDescription()
The function's description.
public GetFunctionConfigurationResult withDescription(String description)
The function's description.
description
- The function's description.public void setTimeout(Integer timeout)
The amount of time that Lambda allows a function to run before terminating it.
timeout
- The amount of time that Lambda allows a function to run before terminating it.public Integer getTimeout()
The amount of time that Lambda allows a function to run before terminating it.
public GetFunctionConfigurationResult withTimeout(Integer timeout)
The amount of time that Lambda allows a function to run before terminating it.
timeout
- The amount of time that Lambda allows a function to run before terminating it.public void setMemorySize(Integer memorySize)
The memory allocated to the function
memorySize
- The memory allocated to the functionpublic Integer getMemorySize()
The memory allocated to the function
public GetFunctionConfigurationResult withMemorySize(Integer memorySize)
The memory allocated to the function
memorySize
- The memory allocated to the functionpublic void setLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ssTZD).
lastModified
- The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ssTZD).public String getLastModified()
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ssTZD).
public GetFunctionConfigurationResult withLastModified(String lastModified)
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ssTZD).
lastModified
- The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ssTZD).public void setCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256
- The SHA256 hash of the function's deployment package.public String getCodeSha256()
The SHA256 hash of the function's deployment package.
public GetFunctionConfigurationResult withCodeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256
- The SHA256 hash of the function's 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)
The function's networking configuration.
vpcConfig
- The function's networking configuration.public VpcConfigResponse getVpcConfig()
The function's networking configuration.
public GetFunctionConfigurationResult withVpcConfig(VpcConfigResponse vpcConfig)
The function's networking configuration.
vpcConfig
- The function's networking configuration.public void setDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig
- The function's dead letter queue.public DeadLetterConfig getDeadLetterConfig()
The function's dead letter queue.
public GetFunctionConfigurationResult withDeadLetterConfig(DeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig
- The function's dead letter queue.public void setEnvironment(EnvironmentResponse environment)
The function's environment variables.
environment
- The function's environment variables.public EnvironmentResponse getEnvironment()
The function's environment variables.
public GetFunctionConfigurationResult withEnvironment(EnvironmentResponse environment)
The function's environment variables.
environment
- The function's environment variables.public void setKMSKeyArn(String kMSKeyArn)
The KMS key used to encrypt the function's environment variables. Only returned if you've configured a customer managed CMK.
kMSKeyArn
- The KMS key used to encrypt the function's environment variables. Only returned if you've configured a
customer managed CMK.public String getKMSKeyArn()
The KMS key used to encrypt the function's environment variables. Only returned if you've configured a customer managed CMK.
public GetFunctionConfigurationResult withKMSKeyArn(String kMSKeyArn)
The KMS key used to encrypt the function's environment variables. Only returned if you've configured a customer managed CMK.
kMSKeyArn
- The KMS key used to encrypt the function's environment variables. Only returned if you've configured a
customer managed CMK.public void setTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
tracingConfig
- The function's AWS X-Ray tracing configuration.public TracingConfigResponse getTracingConfig()
The function's AWS X-Ray tracing configuration.
public GetFunctionConfigurationResult withTracingConfig(TracingConfigResponse tracingConfig)
The function's AWS X-Ray tracing configuration.
tracingConfig
- The function's AWS X-Ray tracing configuration.public void setMasterArn(String masterArn)
The ARN of the master function.
masterArn
- The ARN of the master function.public String getMasterArn()
The ARN of the master function.
public GetFunctionConfigurationResult withMasterArn(String masterArn)
The ARN of the master function.
masterArn
- The ARN of the master function.public void setRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.public String getRevisionId()
Represents the latest updated revision of the function or alias.
public GetFunctionConfigurationResult withRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.public String toString()
toString
in class Object
Object.toString()
public GetFunctionConfigurationResult clone()
Copyright © 2018. All rights reserved.