com.twilio.twiml.voice.Stop Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of twilio Show documentation
Show all versions of twilio Show documentation
Twilio Java Helper Library
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.twiml.voice;
import com.twilio.twiml.TwiML;
/**
* TwiML wrapper for {@code }
*/
public class Stop extends TwiML {
/**
* For XML Serialization/Deserialization
*/
private Stop() {
this(new Builder());
}
/**
* Create a new {@code } element
*/
private Stop(Builder b) {
super("Stop", b);
}
/**
* Create a new {@code } element
*/
public static class Builder extends TwiML.Builder {
/**
* Add a child {@code } element
*/
public Builder stream(Stream stream) {
this.children.add(stream);
return this;
}
/**
* Add a child {@code } element
*/
public Builder siprec(Siprec siprec) {
this.children.add(siprec);
return this;
}
/**
* Create and return resulting {@code } element
*/
public Stop build() {
return new Stop(this);
}
}
}