public CreateSipRuleRequest withTargetApplications(SipRuleTargetApplication... targetApplications) {
        if (this.targetApplications == null) {
            setTargetApplications(new java.util.ArrayList<SipRuleTargetApplication>(targetApplications.length));
        }
        for (SipRuleTargetApplication ele : targetApplications) {
            this.targetApplications.add(ele);
        }
        return this;
    }
<p>
List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargetApplications(java.util.Collection)} or {@link #withTargetApplications(java.util.Collection)} if
you want to override the existing values.
</p>

@param targetApplications
       List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can
       be used.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateSipRuleRequest.java