public DescribeOptimizationJobResult withOptimizationConfigs(OptimizationConfig... optimizationConfigs) {
        if (this.optimizationConfigs == null) {
            setOptimizationConfigs(new java.util.ArrayList<OptimizationConfig>(optimizationConfigs.length));
        }
        for (OptimizationConfig ele : optimizationConfigs) {
            this.optimizationConfigs.add(ele);
        }
        return this;
    }
<p>
Settings for each of the optimization techniques that the job applies.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOptimizationConfigs(java.util.Collection)} or {@link #withOptimizationConfigs(java.util.Collection)}
if you want to override the existing values.
</p>

@param optimizationConfigs
       Settings for each of the optimization techniques that the job applies.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DescribeOptimizationJobResult.java