@Generated(value="software.amazon.awssdk:codegen") public final class AwsLambdaFunctionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>
A summary of information about the AWS Lambda function.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsLambdaFunctionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Architecture> |
architectures()
The instruction set architecture that the AWS Lambda function supports.
|
List<String> |
architecturesAsStrings()
The instruction set architecture that the AWS Lambda function supports.
|
static AwsLambdaFunctionDetails.Builder |
builder() |
String |
codeSha256()
The SHA256 hash of the AWS Lambda function's deployment package.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRoleArn()
The AWS Lambda function's execution role.
|
String |
functionName()
The name of the AWS Lambda function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
Instant |
lastModifiedAt()
The date and time that a user last updated the configuration, in ISO 8601 format
|
List<String> |
layers()
The AWS Lambda function's
layers.
|
PackageType |
packageType()
The type of deployment package.
|
String |
packageTypeAsString()
The type of deployment package.
|
Runtime |
runtime()
The runtime environment for the AWS Lambda function.
|
String |
runtimeAsString()
The runtime environment for the AWS Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsLambdaFunctionDetails.Builder> |
serializableBuilderClass() |
AwsLambdaFunctionDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the AWS Lambda function.
|
LambdaVpcConfig |
vpcConfig()
The AWS Lambda function's networking configuration.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final List<Architecture> architectures()
The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one
of the valid values. The default architecture value is x86_64.
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.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> architecturesAsStrings()
The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one
of the valid values. The default architecture value is x86_64.
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.public final String codeSha256()
The SHA256 hash of the AWS Lambda function's deployment package.
public final String executionRoleArn()
The AWS Lambda function's execution role.
public final String functionName()
The name of the AWS Lambda function.
public final Instant lastModifiedAt()
The date and time that a user last updated the configuration, in ISO 8601 format
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 AWS Lambda function's layers. 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 PackageType packageType()
The type of deployment package. Set to Image for container image and set Zip for .zip
file archive.
If the service returns an enum value that is not available in the current SDK version, packageType will
return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageTypeAsString().
Image for container image and set Zip
for .zip file archive.PackageTypepublic final String packageTypeAsString()
The type of deployment package. Set to Image for container image and set Zip for .zip
file archive.
If the service returns an enum value that is not available in the current SDK version, packageType will
return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageTypeAsString().
Image for container image and set Zip
for .zip file archive.PackageTypepublic final Runtime runtime()
The runtime environment for the AWS 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().
Runtimepublic final String runtimeAsString()
The runtime environment for the AWS 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().
Runtimepublic final String version()
The version of the AWS Lambda function.
public final LambdaVpcConfig vpcConfig()
The AWS Lambda function's networking configuration.
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.