public UserSetting withAction(String action) {
        setAction(action);
        return this;
    }
<p>
Indicates the type of action.
</p>

@param action
       Indicates the type of action.
@return Returns a reference to this object so that method calls can be chained together.
@see UserSettingActionEnum
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/UserSetting.java