public void setType(String type) {
        this.type = type;
    }
<p>
Indicates whether the user requires a password to authenticate.
</p>

@param type
       Indicates whether the user requires a password to authenticate.
@see AuthenticationType
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/Authentication.java