public UserPoolAddOnsType withAdvancedSecurityMode(String advancedSecurityMode) {
        setAdvancedSecurityMode(advancedSecurityMode);
        return this;
    }
<p>
The operating mode of advanced security features in your user pool.
</p>

@param advancedSecurityMode
       The operating mode of advanced security features in your user pool.
@return Returns a reference to this object so that method calls can be chained together.
@see AdvancedSecurityModeType
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/UserPoolAddOnsType.java