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 interfaceSnapStartResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapStartApplyOnapplyOn()When set toPublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.StringapplyOnAsString()When set toPublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.static SnapStartResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SnapStartOptimizationStatusoptimizationStatus()When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.StringoptimizationStatusAsString()When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SnapStartResponse.Builder>serializableBuilderClass()SnapStartResponse.BuildertoBuilder()StringtoString()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,
applyOnwill 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,
applyOnwill 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,
optimizationStatuswill 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,
optimizationStatuswill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-