@CheckReturnValue
    public GuildManager setAfkTimeout(Guild.Timeout timeout)
    {
        Checks.notNull(timeout, "Timeout");
        this.afkTimeout = timeout.getSeconds();
        set |= AFK_TIMEOUT;
        return this;
    }
@ CheckReturnValue public GuildManager setAfkTimeout ( Guild . Timeout timeout ) { Checks . notNull ( timeout , "Timeout" ) ; this . afkTimeout = timeout . getSeconds ( ) ; set |= AFK_TIMEOUT ; return this ; }
Sets the afk {@link net.dv8tion.jda.core.entities.Guild.Timeout Timeout} of this {@link net.dv8tion.jda.core.entities.Guild Guild}.

@param  timeout
The new afk timeout for this {@link net.dv8tion.jda.core.entities.Guild Guild}

@throws IllegalArgumentException
If the provided timeout is {@code null}

@return GuildManager for chaining convenience