public DataLakeLifecycleConfiguration withExpiration(DataLakeLifecycleExpiration expiration) {
        setExpiration(expiration);
        return this;
    }
<p>
Provides data expiration details of Amazon Security Lake object.
</p>

@param expiration
       Provides data expiration details of Amazon Security Lake object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/DataLakeLifecycleConfiguration.java