@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOriginEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateOriginEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOriginEndpointRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateOriginEndpointRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateOriginEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Authorization |
getAuthorization() |
String |
getChannelId()
The ID of the Channel that the OriginEndpoint will be associated with.
|
CmafPackageCreateOrUpdateParameters |
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 that will be used as the filename of the OriginEndpoint URL (defaults to "index").
|
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.
|
List<String> |
getWhitelist()
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
int |
hashCode() |
void |
setAuthorization(Authorization authorization) |
void |
setChannelId(String channelId)
The ID of the Channel that the OriginEndpoint will be associated with.
|
void |
setCmafPackage(CmafPackageCreateOrUpdateParameters 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 that will be used as the filename of the OriginEndpoint URL (defaults to "index").
|
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 |
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.
|
CreateOriginEndpointRequest |
withAuthorization(Authorization authorization) |
CreateOriginEndpointRequest |
withChannelId(String channelId)
The ID of the Channel that the OriginEndpoint will be associated with.
|
CreateOriginEndpointRequest |
withCmafPackage(CmafPackageCreateOrUpdateParameters cmafPackage) |
CreateOriginEndpointRequest |
withDashPackage(DashPackage dashPackage) |
CreateOriginEndpointRequest |
withDescription(String description)
A short text description of the OriginEndpoint.
|
CreateOriginEndpointRequest |
withHlsPackage(HlsPackage hlsPackage) |
CreateOriginEndpointRequest |
withId(String id)
The ID of the OriginEndpoint.
|
CreateOriginEndpointRequest |
withManifestName(String manifestName)
A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").
|
CreateOriginEndpointRequest |
withMssPackage(MssPackage mssPackage) |
CreateOriginEndpointRequest |
withOrigination(Origination origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
CreateOriginEndpointRequest |
withOrigination(String origination)
Control whether origination of video is allowed for this OriginEndpoint.
|
CreateOriginEndpointRequest |
withStartoverWindowSeconds(Integer startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
CreateOriginEndpointRequest |
withTags(Map<String,String> tags) |
CreateOriginEndpointRequest |
withTimeDelaySeconds(Integer timeDelaySeconds)
Amount of delay (seconds) to enforce on the playback of live content.
|
CreateOriginEndpointRequest |
withWhitelist(Collection<String> whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
CreateOriginEndpointRequest |
withWhitelist(String... whitelist)
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAuthorization(Authorization authorization)
authorization
- public Authorization getAuthorization()
public CreateOriginEndpointRequest withAuthorization(Authorization authorization)
authorization
- public void setChannelId(String channelId)
channelId
- The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the
OriginEndpoint is created.public String getChannelId()
public CreateOriginEndpointRequest withChannelId(String channelId)
channelId
- The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the
OriginEndpoint is created.public void setCmafPackage(CmafPackageCreateOrUpdateParameters cmafPackage)
cmafPackage
- public CmafPackageCreateOrUpdateParameters getCmafPackage()
public CreateOriginEndpointRequest withCmafPackage(CmafPackageCreateOrUpdateParameters cmafPackage)
cmafPackage
- public void setDashPackage(DashPackage dashPackage)
dashPackage
- public DashPackage getDashPackage()
public CreateOriginEndpointRequest withDashPackage(DashPackage dashPackage)
dashPackage
- public void setDescription(String description)
description
- A short text description of the OriginEndpoint.public String getDescription()
public CreateOriginEndpointRequest withDescription(String description)
description
- A short text description of the OriginEndpoint.public void setHlsPackage(HlsPackage hlsPackage)
hlsPackage
- public HlsPackage getHlsPackage()
public CreateOriginEndpointRequest withHlsPackage(HlsPackage hlsPackage)
hlsPackage
- public void setId(String id)
id
- The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the
OriginEndpoint is created.public String getId()
public CreateOriginEndpointRequest withId(String id)
id
- The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the
OriginEndpoint is created.public void setManifestName(String manifestName)
manifestName
- A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").public String getManifestName()
public CreateOriginEndpointRequest withManifestName(String manifestName)
manifestName
- A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").public void setMssPackage(MssPackage mssPackage)
mssPackage
- public MssPackage getMssPackage()
public CreateOriginEndpointRequest 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 CreateOriginEndpointRequest 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 CreateOriginEndpointRequest 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 CreateOriginEndpointRequest 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 CreateOriginEndpointRequest withTags(Map<String,String> tags)
tags
- public CreateOriginEndpointRequest addTagsEntry(String key, String value)
public CreateOriginEndpointRequest 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 CreateOriginEndpointRequest 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 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 CreateOriginEndpointRequest 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 CreateOriginEndpointRequest 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 CreateOriginEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()