@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOriginEndpointResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateOriginEndpointResult() |
Modifier and Type | Method and Description |
---|---|
CreateOriginEndpointResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateOriginEndpointResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateOriginEndpointResult |
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 |
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.
|
CreateOriginEndpointResult |
withArn(String arn)
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
CreateOriginEndpointResult |
withAuthorization(Authorization authorization) |
CreateOriginEndpointResult |
withChannelId(String channelId)
The ID of the Channel the OriginEndpoint is associated with.
|
CreateOriginEndpointResult |
withCmafPackage(CmafPackage cmafPackage) |
CreateOriginEndpointResult |
withCreatedAt(String createdAt)
The date and time the OriginEndpoint was created.
|
CreateOriginEndpointResult |
withDashPackage(DashPackage dashPackage) |
CreateOriginEndpointResult |
withDescription(String description)
A short text description of the OriginEndpoint.
|
CreateOriginEndpointResult |
withHlsPackage(HlsPackage hlsPackage) |
CreateOriginEndpointResult |
withId(String id)
The ID of the OriginEndpoint.
|
CreateOriginEndpointResult |
withManifestName(String manifestName)
A short string appended to the end of the OriginEndpoint URL.
|
CreateOriginEndpointResult |
withMssPackage(MssPackage mssPackage) |
CreateOriginEndpointResult |
withOrigination(Origination origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
CreateOriginEndpointResult |
withOrigination(String origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
CreateOriginEndpointResult |
withStartoverWindowSeconds(Integer startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
CreateOriginEndpointResult |
withTags(Map<String,String> tags) |
CreateOriginEndpointResult |
withTimeDelaySeconds(Integer timeDelaySeconds)
Amount of delay (seconds) to enforce on the playback of live content.
|
CreateOriginEndpointResult |
withUrl(String url)
The URL of the packaged OriginEndpoint for consumption.
|
CreateOriginEndpointResult |
withWhitelist(Collection<String> whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
CreateOriginEndpointResult |
withWhitelist(String... whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- The Amazon Resource Name (ARN) assigned to the OriginEndpoint.public String getArn()
public CreateOriginEndpointResult withArn(String arn)
arn
- The Amazon Resource Name (ARN) assigned to the OriginEndpoint.public void setAuthorization(Authorization authorization)
authorization
- public Authorization getAuthorization()
public CreateOriginEndpointResult withAuthorization(Authorization authorization)
authorization
- public void setChannelId(String channelId)
channelId
- The ID of the Channel the OriginEndpoint is associated with.public String getChannelId()
public CreateOriginEndpointResult withChannelId(String channelId)
channelId
- The ID of the Channel the OriginEndpoint is associated with.public void setCmafPackage(CmafPackage cmafPackage)
cmafPackage
- public CmafPackage getCmafPackage()
public CreateOriginEndpointResult withCmafPackage(CmafPackage cmafPackage)
cmafPackage
- public void setCreatedAt(String createdAt)
createdAt
- The date and time the OriginEndpoint was created.public String getCreatedAt()
public CreateOriginEndpointResult withCreatedAt(String createdAt)
createdAt
- The date and time the OriginEndpoint was created.public void setDashPackage(DashPackage dashPackage)
dashPackage
- public DashPackage getDashPackage()
public CreateOriginEndpointResult withDashPackage(DashPackage dashPackage)
dashPackage
- public void setDescription(String description)
description
- A short text description of the OriginEndpoint.public String getDescription()
public CreateOriginEndpointResult withDescription(String description)
description
- A short text description of the OriginEndpoint.public void setHlsPackage(HlsPackage hlsPackage)
hlsPackage
- public HlsPackage getHlsPackage()
public CreateOriginEndpointResult withHlsPackage(HlsPackage hlsPackage)
hlsPackage
- public void setId(String id)
id
- The ID of the OriginEndpoint.public String getId()
public CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult withTags(Map<String,String> tags)
tags
- public CreateOriginEndpointResult addTagsEntry(String key, String value)
public CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult 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 CreateOriginEndpointResult clone()