@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapStartResponse extends Object implements Serializable, Cloneable, StructuredPojo
The function's SnapStart setting.
| Constructor and Description | 
|---|
| SnapStartResponse() | 
| Modifier and Type | Method and Description | 
|---|---|
| SnapStartResponse | clone() | 
| boolean | equals(Object obj) | 
| String | getApplyOn()
 When set to  PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version. | 
| String | getOptimizationStatus()
 When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the
 specified function version. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller) | 
| void | setApplyOn(String applyOn)
 When set to  PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version. | 
| void | setOptimizationStatus(String optimizationStatus)
 When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the
 specified function version. | 
| String | toString()Returns a string representation of this object. | 
| SnapStartResponse | withApplyOn(SnapStartApplyOn applyOn)
 When set to  PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version. | 
| SnapStartResponse | withApplyOn(String applyOn)
 When set to  PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version. | 
| SnapStartResponse | withOptimizationStatus(SnapStartOptimizationStatus optimizationStatus)
 When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the
 specified function version. | 
| SnapStartResponse | withOptimizationStatus(String optimizationStatus)
 When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the
 specified function version. | 
public void setApplyOn(String applyOn)
 When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version.
 
applyOn - When set to PublishedVersions, Lambda creates a snapshot of the execution environment when
        you publish a function version.SnapStartApplyOnpublic String getApplyOn()
 When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version.
 
PublishedVersions, Lambda creates a snapshot of the execution environment when
         you publish a function version.SnapStartApplyOnpublic SnapStartResponse withApplyOn(String applyOn)
 When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version.
 
applyOn - When set to PublishedVersions, Lambda creates a snapshot of the execution environment when
        you publish a function version.SnapStartApplyOnpublic SnapStartResponse withApplyOn(SnapStartApplyOn applyOn)
 When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you
 publish a function version.
 
applyOn - When set to PublishedVersions, Lambda creates a snapshot of the execution environment when
        you publish a function version.SnapStartApplyOnpublic void setOptimizationStatus(String optimizationStatus)
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
optimizationStatus - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated
        for the specified function version.SnapStartOptimizationStatuspublic String getOptimizationStatus()
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
SnapStartOptimizationStatuspublic SnapStartResponse withOptimizationStatus(String optimizationStatus)
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
optimizationStatus - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated
        for the specified function version.SnapStartOptimizationStatuspublic SnapStartResponse withOptimizationStatus(SnapStartOptimizationStatus optimizationStatus)
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
optimizationStatus - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated
        for the specified function version.SnapStartOptimizationStatuspublic String toString()
toString in class ObjectObject.toString()public SnapStartResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.