public DescribeJobDefinitionsRequest withJobDefinitions(String... jobDefinitions) {
        if (this.jobDefinitions == null) {
            setJobDefinitions(new java.util.ArrayList<String>(jobDefinitions.length));
        }
        for (String ele : jobDefinitions) {
            this.jobDefinitions.add(ele);
        }
        return this;
    }
<p>
A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
<code>arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}</code> or a short
version using the form <code>${JobDefinitionName}:${Revision}</code>. This parameter can't be used with other
parameters.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setJobDefinitions(java.util.Collection)} or {@link #withJobDefinitions(java.util.Collection)} if you want
to override the existing values.
</p>

@param jobDefinitions
       A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
       <code>arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}</code> or a short
       version using the form <code>${JobDefinitionName}:${Revision}</code>. This parameter can't be used with
       other parameters.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/DescribeJobDefinitionsRequest.java