public GetAppValidationConfigurationResult withServerGroupValidationConfigurations(
            ServerGroupValidationConfiguration... serverGroupValidationConfigurations) {
        if (this.serverGroupValidationConfigurations == null) {
            setServerGroupValidationConfigurations(new java.util.ArrayList<ServerGroupValidationConfiguration>(serverGroupValidationConfigurations.length));
        }
        for (ServerGroupValidationConfiguration ele : serverGroupValidationConfigurations) {
            this.serverGroupValidationConfigurations.add(ele);
        }
        return this;
    }
<p>
The configuration for instance validation.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServerGroupValidationConfigurations(java.util.Collection)} or
{@link #withServerGroupValidationConfigurations(java.util.Collection)} if you want to override the existing
values.
</p>

@param serverGroupValidationConfigurations
       The configuration for instance validation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/GetAppValidationConfigurationResult.java