public UpdateTriggerResult withTrigger(Trigger trigger) {
        setTrigger(trigger);
        return this;
    }
<p>
The resulting trigger definition.
</p>

@param trigger
       The resulting trigger definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/UpdateTriggerResult.java