public SnapStartResponse withOptimizationStatus(String optimizationStatus) {
        setOptimizationStatus(optimizationStatus);
        return this;
    }
<p>
When you provide a <a
href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using"
>qualified Amazon Resource Name (ARN)</a>, this response element indicates whether SnapStart is activated for the
specified function version.
</p>

@param optimizationStatus
       When you provide a <a href=
       "https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using"
       >qualified Amazon Resource Name (ARN)</a>, this response element indicates whether SnapStart is activated
       for the specified function version.
@return Returns a reference to this object so that method calls can be chained together.
@see SnapStartOptimizationStatus
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/SnapStartResponse.java