@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
OriginEndpoint |
clearTagsEntries()
Removes all the entries added into Tags.
|
OriginEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
Authorization |
getAuthorization() |
String |
getChannelId()
The ID of the Channel the OriginEndpoint is associated with.
|
CmafPackage |
getCmafPackage() |
String |
getCreatedAt()
The date and time the OriginEndpoint was created.
|
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() |
String |
getOrigination()
Control whether origination of video is allowed for this OriginEndpoint.
|
Integer |
getStartoverWindowSeconds()
Maximum duration (seconds) of content to retain for startover playback.
|
Map<String,String> |
getTags() |
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 |
setAuthorization(Authorization authorization) |
void |
setChannelId(String channelId)
The ID of the Channel the OriginEndpoint is associated with.
|
void |
setCmafPackage(CmafPackage cmafPackage) |
void |
setCreatedAt(String createdAt)
The date and time the OriginEndpoint was created.
|
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 |
setOrigination(String origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
void |
setStartoverWindowSeconds(Integer startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
void |
setTags(Map<String,String> tags) |
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.
|
OriginEndpoint |
withArn(String arn)
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
OriginEndpoint |
withAuthorization(Authorization authorization) |
OriginEndpoint |
withChannelId(String channelId)
The ID of the Channel the OriginEndpoint is associated with.
|
OriginEndpoint |
withCmafPackage(CmafPackage cmafPackage) |
OriginEndpoint |
withCreatedAt(String createdAt)
The date and time the OriginEndpoint was created.
|
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 |
withOrigination(Origination origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
OriginEndpoint |
withOrigination(String origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
OriginEndpoint |
withStartoverWindowSeconds(Integer startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
OriginEndpoint |
withTags(Map<String,String> tags) |
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 setAuthorization(Authorization authorization)
authorization
- public Authorization getAuthorization()
public OriginEndpoint withAuthorization(Authorization authorization)
authorization
- 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 setCreatedAt(String createdAt)
createdAt
- The date and time the OriginEndpoint was created.public String getCreatedAt()
public OriginEndpoint withCreatedAt(String createdAt)
createdAt
- The date and time the OriginEndpoint was created.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 setOrigination(String origination)
origination
- Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the
OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the
OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily
disabling originationOrigination
public String getOrigination()
Origination
public OriginEndpoint withOrigination(String origination)
origination
- Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the
OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the
OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily
disabling originationOrigination
public OriginEndpoint withOrigination(Origination origination)
origination
- Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the
OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the
OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily
disabling originationOrigination
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 OriginEndpoint withTags(Map<String,String> tags)
tags
- public OriginEndpoint addTagsEntry(String key, String value)
public OriginEndpoint clearTagsEntries()
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.