@Generated(value="software.amazon.awssdk:codegen") public class UpdateFunctionCodeResponse extends LambdaResponse implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<UpdateFunctionCodeResponse.Builder,UpdateFunctionCodeResponse>
A complex type that describes function metadata.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateFunctionCodeResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateFunctionCodeResponse.Builder |
builder() |
String |
codeSha256()
It is the SHA256 hash of your function deployment package.
|
Long |
codeSize()
The size, in bytes, of the function .zip file you uploaded.
|
DeadLetterConfig |
deadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
String |
description()
The user-provided description.
|
EnvironmentResponse |
environment()
The parent object that contains your environment's configuration settings.
|
boolean |
equals(Object obj) |
String |
functionArn()
The Amazon Resource Name (ARN) assigned to the function.
|
String |
functionName()
The name of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
handler()
The function Lambda calls to begin executing your function.
|
int |
hashCode() |
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
String |
lastModified()
The time stamp of the last time you updated the function.
|
String |
masterArn()
Returns the ARN (Amazon Resource Name) of the master function.
|
Integer |
memorySize()
The memory size, in MB, you configured for the function.
|
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.
|
Runtime |
runtime()
The runtime environment for the Lambda function.
|
String |
runtimeString()
The runtime environment for the Lambda function.
|
static Class<? extends UpdateFunctionCodeResponse.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The function execution time at which Lambda should terminate the function.
|
UpdateFunctionCodeResponse.Builder |
toBuilder() |
String |
toString() |
TracingConfigResponse |
tracingConfig()
The parent object that contains your function's tracing settings.
|
String |
version()
The version of the Lambda function.
|
VpcConfigResponse |
vpcConfig()
VPC configuration associated with your Lambda function.
|
public 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.
public String functionArn()
The Amazon Resource Name (ARN) assigned to the function.
public Runtime runtime()
The runtime environment for the Lambda function.
If the service returns an enum value that is not available in the current SDK version, runtime
will
return Runtime.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
runtimeString()
.
Runtime
public String runtimeString()
The runtime environment for the Lambda function.
If the service returns an enum value that is not available in the current SDK version, runtime
will
return Runtime.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
runtimeString()
.
Runtime
public 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.
public String handler()
The function Lambda calls to begin executing your function.
public Long codeSize()
The size, in bytes, of the function .zip file you uploaded.
public String description()
The user-provided description.
public 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.
public Integer memorySize()
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
public 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.
public String codeSha256()
It is the SHA256 hash of your function deployment package.
public String version()
The version of the Lambda function.
public VpcConfigResponse vpcConfig()
VPC configuration associated with your Lambda function.
public DeadLetterConfig deadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
public EnvironmentResponse environment()
The parent object that contains your environment's configuration settings.
public 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.
public TracingConfigResponse tracingConfig()
The parent object that contains your function's tracing settings.
public String masterArn()
Returns the ARN (Amazon Resource Name) of the master function.
public UpdateFunctionCodeResponse.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<UpdateFunctionCodeResponse.Builder,UpdateFunctionCodeResponse>
toBuilder
in class AwsResponse
public static UpdateFunctionCodeResponse.Builder builder()
public static Class<? extends UpdateFunctionCodeResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2018. All rights reserved.