public LoggerDefinitionVersion withLoggers(Logger... loggers) {
        if (this.loggers == null) {
            setLoggers(new java.util.ArrayList<Logger>(loggers.length));
        }
        for (Logger ele : loggers) {
            this.loggers.add(ele);
        }
        return this;
    }
A list of loggers.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLoggers(java.util.Collection)} or {@link #withLoggers(java.util.Collection)} if you want to override
the existing values.
</p>

@param loggers
       A list of loggers.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/LoggerDefinitionVersion.java