@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateChannelRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateChannelRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelGroupName()
The name that describes the channel group.
|
String |
getChannelName()
The name that describes the channel.
|
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
String |
getDescription()
Enter any descriptive text that helps you to identify the channel.
|
String |
getInputType()
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest
or HLS ingest.
|
Map<String,String> |
getTags()
A comma-separated list of tag key:value pairs that you define.
|
int |
hashCode() |
void |
setChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
void |
setChannelName(String channelName)
The name that describes the channel.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
Enter any descriptive text that helps you to identify the channel.
|
void |
setInputType(String inputType)
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest
or HLS ingest.
|
void |
setTags(Map<String,String> tags)
A comma-separated list of tag key:value pairs that you define.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelRequest |
withChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
CreateChannelRequest |
withChannelName(String channelName)
The name that describes the channel.
|
CreateChannelRequest |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
CreateChannelRequest |
withDescription(String description)
Enter any descriptive text that helps you to identify the channel.
|
CreateChannelRequest |
withInputType(InputType inputType)
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest
or HLS ingest.
|
CreateChannelRequest |
withInputType(String inputType)
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest
or HLS ingest.
|
CreateChannelRequest |
withTags(Map<String,String> tags)
A comma-separated list of tag key:value pairs that you define.
|
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 setChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public String getChannelGroupName()
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
public CreateChannelRequest withChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public void setChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group. You can't change the name after you create
the channel.public String getChannelName()
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.
public CreateChannelRequest withChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group. You can't change the name after you create
the channel.public void setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
public CreateChannelRequest withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.public void setInputType(String inputType)
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
inputType
- The input type will be an immutable field which will be used to define whether the channel will allow CMAF
ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
InputType
public String getInputType()
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
InputType
public CreateChannelRequest withInputType(String inputType)
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
inputType
- The input type will be an immutable field which will be used to define whether the channel will allow CMAF
ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
InputType
public CreateChannelRequest withInputType(InputType inputType)
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
inputType
- The input type will be an immutable field which will be used to define whether the channel will allow CMAF
ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH
manifests).
InputType
public void setDescription(String description)
Enter any descriptive text that helps you to identify the channel.
description
- Enter any descriptive text that helps you to identify the channel.public String getDescription()
Enter any descriptive text that helps you to identify the channel.
public CreateChannelRequest withDescription(String description)
Enter any descriptive text that helps you to identify the channel.
description
- Enter any descriptive text that helps you to identify the channel.public Map<String,String> getTags()
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
"Key1": "Value1",
"Key2": "Value2"
public void setTags(Map<String,String> tags)
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
tags
- A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
public CreateChannelRequest withTags(Map<String,String> tags)
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
tags
- A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
public CreateChannelRequest addTagsEntry(String key, String value)
public CreateChannelRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()