@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultSegmentDeliveryConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The optional configuration for a server that serves segments. Use this if you want the segment delivery server to be different from the source location server. For example, you can configure your source location server to be an origination server, such as MediaPackage, and the segment delivery server to be a content delivery network (CDN), such as CloudFront. If you don't specify a segment delivery server, then the source location server is used.
Constructor and Description |
---|
DefaultSegmentDeliveryConfiguration() |
Modifier and Type | Method and Description |
---|---|
DefaultSegmentDeliveryConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBaseUrl()
The hostname of the server that will be used to serve segments.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaseUrl(String baseUrl)
The hostname of the server that will be used to serve segments.
|
String |
toString()
Returns a string representation of this object.
|
DefaultSegmentDeliveryConfiguration |
withBaseUrl(String baseUrl)
The hostname of the server that will be used to serve segments.
|
public void setBaseUrl(String baseUrl)
The hostname of the server that will be used to serve segments. This string must include the protocol, such as https://.
baseUrl
- The hostname of the server that will be used to serve segments. This string must include the protocol,
such as https://.public String getBaseUrl()
The hostname of the server that will be used to serve segments. This string must include the protocol, such as https://.
public DefaultSegmentDeliveryConfiguration withBaseUrl(String baseUrl)
The hostname of the server that will be used to serve segments. This string must include the protocol, such as https://.
baseUrl
- The hostname of the server that will be used to serve segments. This string must include the protocol,
such as https://.public String toString()
toString
in class Object
Object.toString()
public DefaultSegmentDeliveryConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.