public CreateSipRuleRequest withTriggerType(SipRuleTriggerType triggerType) {
        this.triggerType = triggerType.toString();
        return this;
    }
<p>
The type of trigger assigned to the SIP rule in <code>TriggerValue</code>, currently
<code>RequestUriHostname</code> or <code>ToPhoneNumber</code>.
</p>

@param triggerType
       The type of trigger assigned to the SIP rule in <code>TriggerValue</code>, currently
       <code>RequestUriHostname</code> or <code>ToPhoneNumber</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see SipRuleTriggerType
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/CreateSipRuleRequest.java