@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
OriginEndpoint() |
Modifier and Type | Method and Description |
---|---|
OriginEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
String |
getChannelId()
The ID of the Channel the OriginEndpoint is associated with.
|
CmafPackage |
getCmafPackage() |
DashPackage |
getDashPackage() |
String |
getDescription()
A short text description of the OriginEndpoint.
|
HlsPackage |
getHlsPackage() |
String |
getId()
The ID of the OriginEndpoint.
|
String |
getManifestName()
A short string appended to the end of the OriginEndpoint URL.
|
MssPackage |
getMssPackage() |
Integer |
getStartoverWindowSeconds()
Maximum duration (seconds) of content to retain for startover playback.
|
Integer |
getTimeDelaySeconds()
Amount of delay (seconds) to enforce on the playback of live content.
|
String |
getUrl()
The URL of the packaged OriginEndpoint for consumption.
|
List<String> |
getWhitelist()
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
void |
setChannelId(String channelId)
The ID of the Channel the OriginEndpoint is associated with.
|
void |
setCmafPackage(CmafPackage cmafPackage) |
void |
setDashPackage(DashPackage dashPackage) |
void |
setDescription(String description)
A short text description of the OriginEndpoint.
|
void |
setHlsPackage(HlsPackage hlsPackage) |
void |
setId(String id)
The ID of the OriginEndpoint.
|
void |
setManifestName(String manifestName)
A short string appended to the end of the OriginEndpoint URL.
|
void |
setMssPackage(MssPackage mssPackage) |
void |
setStartoverWindowSeconds(Integer startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
void |
setTimeDelaySeconds(Integer timeDelaySeconds)
Amount of delay (seconds) to enforce on the playback of live content.
|
void |
setUrl(String url)
The URL of the packaged OriginEndpoint for consumption.
|
void |
setWhitelist(Collection<String> whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OriginEndpoint |
withArn(String arn)
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
OriginEndpoint |
withChannelId(String channelId)
The ID of the Channel the OriginEndpoint is associated with.
|
OriginEndpoint |
withCmafPackage(CmafPackage cmafPackage) |
OriginEndpoint |
withDashPackage(DashPackage dashPackage) |
OriginEndpoint |
withDescription(String description)
A short text description of the OriginEndpoint.
|
OriginEndpoint |
withHlsPackage(HlsPackage hlsPackage) |
OriginEndpoint |
withId(String id)
The ID of the OriginEndpoint.
|
OriginEndpoint |
withManifestName(String manifestName)
A short string appended to the end of the OriginEndpoint URL.
|
OriginEndpoint |
withMssPackage(MssPackage mssPackage) |
OriginEndpoint |
withStartoverWindowSeconds(Integer startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
OriginEndpoint |
withTimeDelaySeconds(Integer timeDelaySeconds)
Amount of delay (seconds) to enforce on the playback of live content.
|
OriginEndpoint |
withUrl(String url)
The URL of the packaged OriginEndpoint for consumption.
|
OriginEndpoint |
withWhitelist(Collection<String> whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
OriginEndpoint |
withWhitelist(String... whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
public void setArn(String arn)
arn
- The Amazon Resource Name (ARN) assigned to the OriginEndpoint.public String getArn()
public OriginEndpoint withArn(String arn)
arn
- The Amazon Resource Name (ARN) assigned to the OriginEndpoint.public void setChannelId(String channelId)
channelId
- The ID of the Channel the OriginEndpoint is associated with.public String getChannelId()
public OriginEndpoint withChannelId(String channelId)
channelId
- The ID of the Channel the OriginEndpoint is associated with.public void setCmafPackage(CmafPackage cmafPackage)
cmafPackage
- public CmafPackage getCmafPackage()
public OriginEndpoint withCmafPackage(CmafPackage cmafPackage)
cmafPackage
- public void setDashPackage(DashPackage dashPackage)
dashPackage
- public DashPackage getDashPackage()
public OriginEndpoint withDashPackage(DashPackage dashPackage)
dashPackage
- public void setDescription(String description)
description
- A short text description of the OriginEndpoint.public String getDescription()
public OriginEndpoint withDescription(String description)
description
- A short text description of the OriginEndpoint.public void setHlsPackage(HlsPackage hlsPackage)
hlsPackage
- public HlsPackage getHlsPackage()
public OriginEndpoint withHlsPackage(HlsPackage hlsPackage)
hlsPackage
- public void setId(String id)
id
- The ID of the OriginEndpoint.public String getId()
public OriginEndpoint withId(String id)
id
- The ID of the OriginEndpoint.public void setManifestName(String manifestName)
manifestName
- A short string appended to the end of the OriginEndpoint URL.public String getManifestName()
public OriginEndpoint withManifestName(String manifestName)
manifestName
- A short string appended to the end of the OriginEndpoint URL.public void setMssPackage(MssPackage mssPackage)
mssPackage
- public MssPackage getMssPackage()
public OriginEndpoint withMssPackage(MssPackage mssPackage)
mssPackage
- public void setStartoverWindowSeconds(Integer startoverWindowSeconds)
startoverWindowSeconds
- Maximum duration (seconds) of content to retain for startover playback. If not specified, startover
playback will be disabled for the OriginEndpoint.public Integer getStartoverWindowSeconds()
public OriginEndpoint withStartoverWindowSeconds(Integer startoverWindowSeconds)
startoverWindowSeconds
- Maximum duration (seconds) of content to retain for startover playback. If not specified, startover
playback will be disabled for the OriginEndpoint.public void setTimeDelaySeconds(Integer timeDelaySeconds)
timeDelaySeconds
- Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no
time delay in effect for the OriginEndpoint.public Integer getTimeDelaySeconds()
public OriginEndpoint withTimeDelaySeconds(Integer timeDelaySeconds)
timeDelaySeconds
- Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no
time delay in effect for the OriginEndpoint.public void setUrl(String url)
url
- The URL of the packaged OriginEndpoint for consumption.public String getUrl()
public OriginEndpoint withUrl(String url)
url
- The URL of the packaged OriginEndpoint for consumption.public List<String> getWhitelist()
public void setWhitelist(Collection<String> whitelist)
whitelist
- A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.public OriginEndpoint withWhitelist(String... whitelist)
NOTE: This method appends the values to the existing list (if any). Use
setWhitelist(java.util.Collection)
or withWhitelist(java.util.Collection)
if you want to
override the existing values.
whitelist
- A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.public OriginEndpoint withWhitelist(Collection<String> whitelist)
whitelist
- A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.public String toString()
toString
in class Object
Object.toString()
public OriginEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.