@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapStart extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
SnapStart() |
Modifier and Type | Method and Description |
---|---|
SnapStart |
clone() |
boolean |
equals(Object obj) |
String |
getApplyOn()
Set to
PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplyOn(String applyOn)
Set to
PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version. |
String |
toString()
Returns a string representation of this object.
|
SnapStart |
withApplyOn(SnapStartApplyOn applyOn)
Set to
PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version. |
SnapStart |
withApplyOn(String applyOn)
Set to
PublishedVersions to create a snapshot of the initialized execution environment when you
publish a function version. |
public void setApplyOn(String applyOn)
Set to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version.
applyOn
- Set to PublishedVersions
to create a snapshot of the initialized execution environment when
you publish a function version.SnapStartApplyOn
public String getApplyOn()
Set to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version.
PublishedVersions
to create a snapshot of the initialized execution environment when
you publish a function version.SnapStartApplyOn
public SnapStart withApplyOn(String applyOn)
Set to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version.
applyOn
- Set to PublishedVersions
to create a snapshot of the initialized execution environment when
you publish a function version.SnapStartApplyOn
public SnapStart withApplyOn(SnapStartApplyOn applyOn)
Set to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version.
applyOn
- Set to PublishedVersions
to create a snapshot of the initialized execution environment when
you publish a function version.SnapStartApplyOn
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.