@Generated(value="software.amazon.awssdk:codegen") public final class AwsLambdaFunctionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>
Details about a function's configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsLambdaFunctionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
hashCode() |
boolean |
hasLayers()
Returns true if the Layers property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
kmsKeyArn()
The KMS key that's 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's allocated to the function.
|
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 AWS 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's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.
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. 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. For example, 2020-03-22T13:22:13.933Z.
public final boolean hasLayers()
public final List<AwsLambdaFunctionLayer> layers()
The function's layers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLayers() to see if a value was sent in this field.
public final String masterArn()
For Lambda@Edge functions, the ARN of the master function.
public final Integer memorySize()
The memory that's 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 AWS X-Ray tracing configuration.
public final AwsLambdaFunctionVpcConfig vpcConfig()
The function's networking configuration.
public final String version()
The version of the Lambda function.
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 © 2021. All rights reserved.