public DataLakeUpdateException withReason(String reason) {
        setReason(reason);
        return this;
    }
<p>
The reason for the exception of the last <code>UpdateDataLake</code>or <code>DeleteDataLake</code> API request.
</p>

@param reason
       The reason for the exception of the last <code>UpdateDataLake</code>or <code>DeleteDataLake</code> API
       request.
@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/DataLakeUpdateException.java