@Generated(value="software.amazon.awssdk:codegen") public final class AwsLambdaFunctionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>
Details about an Lambda function's configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsLambdaFunctionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
architectures()
The instruction set architecture that the function uses.
|
static AwsLambdaFunctionDetails.Builder |
builder() |
AwsLambdaFunctionCode |
code()
An
AwsLambdaFunctionCode object. |
String |
codeSha256()
The SHA256 hash of the function's deployment package.
|
AwsLambdaFunctionDeadLetterConfig |
deadLetterConfig()
The function's dead letter queue.
|
AwsLambdaFunctionEnvironment |
environment()
The function's environment variables.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
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.
|
boolean |
hasArchitectures()
For responses, this returns true if the service returned a value for the Architectures property.
|
int |
hashCode() |
boolean |
hasLayers()
For responses, this returns true if the service returned a value for the Layers property.
|
String |
kmsKeyArn()
The KMS key that is used to encrypt the function's environment variables.
|
String |
lastModified()
Indicates when the function was last updated.
|
List<AwsLambdaFunctionLayer> |
layers()
The function's layers.
|
String |
masterArn()
For Lambda@Edge functions, the ARN of the master function.
|
Integer |
memorySize()
The memory that is allocated to the function.
|
String |
packageType()
The type of deployment package that's used to deploy the function code to Lambda.
|
String |
revisionId()
The latest updated revision of the function or alias.
|
String |
role()
The function's execution role.
|
String |
runtime()
The runtime environment for the Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsLambdaFunctionDetails.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The amount of time that Lambda allows a function to run before stopping it.
|
AwsLambdaFunctionDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AwsLambdaFunctionTracingConfig |
tracingConfig()
The function's X-Ray tracing configuration.
|
String |
version()
The version of the Lambda function.
|
AwsLambdaFunctionVpcConfig |
vpcConfig()
The function's networking configuration.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsLambdaFunctionCode code()
An AwsLambdaFunctionCode object.
AwsLambdaFunctionCode object.public final String codeSha256()
The SHA256 hash of the function's deployment package.
public final AwsLambdaFunctionDeadLetterConfig deadLetterConfig()
The function's dead letter queue.
public final AwsLambdaFunctionEnvironment environment()
The function's environment variables.
public final String functionName()
The name of the function.
public final String handler()
The function that Lambda calls to begin executing your function.
public final String kmsKeyArn()
The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.
public final String lastModified()
Indicates when the function was last updated.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final boolean hasLayers()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<AwsLambdaFunctionLayer> layers()
The function's layers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLayers() method.
public final String masterArn()
For Lambda@Edge functions, the ARN of the master function.
public final Integer memorySize()
The memory that is allocated to the function.
public final String revisionId()
The latest updated revision of the function or alias.
public final String role()
The function's execution role.
public final String runtime()
The runtime environment for the Lambda function.
public final Integer timeout()
The amount of time that Lambda allows a function to run before stopping it.
public final AwsLambdaFunctionTracingConfig tracingConfig()
The function's X-Ray tracing configuration.
public final AwsLambdaFunctionVpcConfig vpcConfig()
The function's networking configuration.
public final String version()
The version of the Lambda function.
public final boolean hasArchitectures()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> architectures()
The instruction set architecture that the function uses. Valid values are x86_64 or
arm64.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasArchitectures() method.
x86_64 or
arm64.public final String packageType()
The type of deployment package that's used to deploy the function code to Lambda. Set to Image for a
container image and Zip for a .zip file archive.
Image for a container image and Zip for a .zip file archive.public AwsLambdaFunctionDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>public static AwsLambdaFunctionDetails.Builder builder()
public static Class<? extends AwsLambdaFunctionDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.