@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.
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, wait
copy
public 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.SnapStartApplyOn
public 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.SnapStartApplyOn
public 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 SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.