Class SnapStartResponse
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.SnapStartResponse
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SnapStartResponse.Builder,SnapStartResponse>
@Generated("software.amazon.awssdk:codegen") public final class SnapStartResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapStartResponse.Builder,SnapStartResponse>
The function's SnapStart setting.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SnapStartResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapStartApplyOn
applyOn()
When set toPublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.String
applyOnAsString()
When set toPublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.static SnapStartResponse.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
SnapStartOptimizationStatus
optimizationStatus()
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.String
optimizationStatusAsString()
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.List<SdkField<?>>
sdkFields()
static Class<? extends SnapStartResponse.Builder>
serializableBuilderClass()
SnapStartResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applyOn
public final SnapStartApplyOn applyOn()
When set to
PublishedVersions
, Lambda creates a snapshot of the 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 returnSnapStartApplyOn.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromapplyOnAsString()
.- Returns:
- When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - See Also:
SnapStartApplyOn
-
applyOnAsString
public final String applyOnAsString()
When set to
PublishedVersions
, Lambda creates a snapshot of the 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 returnSnapStartApplyOn.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromapplyOnAsString()
.- Returns:
- When set to
PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version. - See Also:
SnapStartApplyOn
-
optimizationStatus
public final SnapStartOptimizationStatus optimizationStatus()
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
If the service returns an enum value that is not available in the current SDK version,
optimizationStatus
will returnSnapStartOptimizationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoptimizationStatusAsString()
.- Returns:
- When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- See Also:
SnapStartOptimizationStatus
-
optimizationStatusAsString
public final String optimizationStatusAsString()
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
If the service returns an enum value that is not available in the current SDK version,
optimizationStatus
will returnSnapStartOptimizationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoptimizationStatusAsString()
.- Returns:
- When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
- See Also:
SnapStartOptimizationStatus
-
toBuilder
public SnapStartResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SnapStartResponse.Builder,SnapStartResponse>
-
builder
public static SnapStartResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnapStartResponse.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-