public MethodSetting withCacheTtlInSeconds(Integer cacheTtlInSeconds) {
        setCacheTtlInSeconds(cacheTtlInSeconds);
        return this;
    }
<p>
Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response
will be cached.
</p>

@param cacheTtlInSeconds
       Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the
       response will be cached.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/MethodSetting.java