@Generated(value="software.amazon.awssdk:codegen") public final class CreateFunctionResponse extends LambdaResponse implements ToCopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
Details about a function's configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateFunctionResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateFunctionResponse.Builder |
builder() |
String |
codeSha256()
The SHA256 hash of the function's deployment package.
|
Long |
codeSize()
The size of the function's deployment package, in bytes.
|
DeadLetterConfig |
deadLetterConfig()
The function's dead letter queue.
|
String |
description()
The function's description.
|
EnvironmentResponse |
environment()
The function's environment variables.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionArn()
The function's Amazon Resource Name (ARN).
|
String |
functionName()
The name of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
handler()
The function that Lambda calls to begin executing your function.
|
int |
hashCode() |
String |
kmsKeyArn()
The KMS key that's used to encrypt the function's environment variables.
|
String |
lastModified()
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
List<Layer> |
layers()
The function's layers.
|
String |
masterArn()
For Lambda@Edge functions, the ARN of the master function.
|
Integer |
memorySize()
The memory that's allocated to the function.
|
String |
revisionId()
The latest updated revision of the function or alias.
|
String |
role()
The function's execution role.
|
Runtime |
runtime()
The runtime environment for the Lambda function.
|
String |
runtimeAsString()
The runtime environment for the Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFunctionResponse.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The amount of time that Lambda allows a function to run before stopping it.
|
CreateFunctionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TracingConfigResponse |
tracingConfig()
The function's AWS X-Ray tracing configuration.
|
String |
version()
The version of the Lambda function.
|
VpcConfigResponse |
vpcConfig()
The function's networking configuration.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String functionName()
The name of the function.
public String functionArn()
The function's Amazon Resource Name (ARN).
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 function's execution role.
public String handler()
The function that Lambda calls to begin executing your function.
public Long codeSize()
The size of the function's deployment package, in bytes.
public String description()
The function's description.
public Integer timeout()
The amount of time that Lambda allows a function to run before stopping it.
public Integer memorySize()
The memory that's allocated to the function.
public String lastModified()
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public String codeSha256()
The SHA256 hash of the function's deployment package.
public String version()
The version of the Lambda function.
public VpcConfigResponse vpcConfig()
The function's networking configuration.
public DeadLetterConfig deadLetterConfig()
The function's dead letter queue.
public EnvironmentResponse environment()
The function's environment variables.
public String kmsKeyArn()
The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer-managed CMK.
public TracingConfigResponse tracingConfig()
The function's AWS X-Ray tracing configuration.
public String masterArn()
For Lambda@Edge functions, the ARN of the master function.
public String revisionId()
The latest updated revision of the function or alias.
public List<Layer> layers()
The function's layers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateFunctionResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
toBuilder
in class AwsResponse
public static CreateFunctionResponse.Builder builder()
public static Class<? extends CreateFunctionResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2019. All rights reserved.