@Generated(value="software.amazon.awssdk:codegen") public final class LambdaFunctionMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaFunctionMetadata.Builder,LambdaFunctionMetadata>
The AWS Lambda function metadata.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LambdaFunctionMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LambdaFunctionMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionName()
The name of a function.
|
Map<String,String> |
functionTags()
The resource tags on an AWS Lambda function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFunctionTags()
For responses, this returns true if the service returned a value for the FunctionTags property.
|
int |
hashCode() |
boolean |
hasLayers()
For responses, this returns true if the service returned a value for the Layers property.
|
List<String> |
layers()
The layers for an AWS Lambda function.
|
Runtime |
runtime()
An AWS Lambda function's runtime.
|
String |
runtimeAsString()
An AWS Lambda function's runtime.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaFunctionMetadata.Builder> |
serializableBuilderClass() |
LambdaFunctionMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String functionName()
The name of a function.
public final boolean hasFunctionTags()
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 Map<String,String> functionTags()
The resource tags on an AWS Lambda function.
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 hasFunctionTags() method.
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<String> layers()
The layers for an AWS Lambda function. A Lambda function can have up to five 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 Runtime runtime()
An AWS Lambda function's runtime.
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().
Runtimepublic final String runtimeAsString()
An AWS Lambda function's runtime.
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().
Runtimepublic LambdaFunctionMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LambdaFunctionMetadata.Builder,LambdaFunctionMetadata>public static LambdaFunctionMetadata.Builder builder()
public static Class<? extends LambdaFunctionMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.