@Generated(value="software.amazon.awssdk:codegen") public final class SnapStart extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapStart.Builder,SnapStart>
The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a
snapshot of the initialized execution environment when you publish a function version.
SnapStart is supported with the java11 runtime. For more information, see Improving startup performance with Lambda
SnapStart.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SnapStart.Builder |
| Modifier and Type | Method and Description |
|---|---|
SnapStartApplyOn |
applyOn()
Set to
PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version. |
String |
applyOnAsString()
Set to
PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version. |
static SnapStart.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SnapStart.Builder> |
serializableBuilderClass() |
SnapStart.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SnapStartApplyOn applyOn()
Set to PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version.
If the service returns an enum value that is not available in the current SDK version, applyOn will
return SnapStartApplyOn.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
applyOnAsString().
PublishedVersions to create a snapshot of the initialized execution environment when
you publish a function version.SnapStartApplyOnpublic final String applyOnAsString()
Set to PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version.
If the service returns an enum value that is not available in the current SDK version, applyOn will
return SnapStartApplyOn.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
applyOnAsString().
PublishedVersions to create a snapshot of the initialized execution environment when
you publish a function version.SnapStartApplyOnpublic SnapStart.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SnapStart.Builder,SnapStart>public static SnapStart.Builder builder()
public static Class<? extends SnapStart.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.