@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFunctionCodeResponse extends LambdaResponse implements 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)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
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 |
revisionId()
Represents the latest updated revision of the function or alias.
|
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 |
runtimeAsString()
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()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
sdkHttpResponse
copy
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
runtimeAsString()
.
Runtime
public String runtimeAsString()
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
runtimeAsString()
.
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 String revisionId()
Represents the latest updated revision of the function or alias.
public UpdateFunctionCodeResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface 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)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.