public CreateTemplateRequest withRequiredFields(java.util.Collection<RequiredField> requiredFields) {
        setRequiredFields(requiredFields);
        return this;
    }
<p>
A list of fields that must contain a value for a case to be successfully created with this template.
</p>

@param requiredFields
       A list of fields that must contain a value for a case to be successfully created with this template.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectcases/src/main/java/com/amazonaws/services/connectcases/model/CreateTemplateRequest.java