public DataLakeLifecycleConfiguration withTransitions(DataLakeLifecycleTransition... transitions) {
        if (this.transitions == null) {
            setTransitions(new java.util.ArrayList<DataLakeLifecycleTransition>(transitions.length));
        }
        for (DataLakeLifecycleTransition ele : transitions) {
            this.transitions.add(ele);
        }
        return this;
    }
<p>
Provides data storage transition details of Amazon Security Lake object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTransitions(java.util.Collection)} or {@link #withTransitions(java.util.Collection)} if you want to
override the existing values.
</p>

@param transitions
       Provides data storage transition 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