@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a configuration to record a channel stream.
Constructor and Description |
---|
RecordingConfiguration() |
Modifier and Type | Method and Description |
---|---|
RecordingConfiguration |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
RecordingConfiguration |
clearTagsEntries()
Removes all the entries added into Tags.
|
RecordingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Recording-configuration ARN.
|
DestinationConfiguration |
getDestinationConfiguration()
A complex type that contains information about where recorded video will be stored.
|
String |
getName()
Recording-configuration name.
|
Integer |
getRecordingReconnectWindowSeconds()
If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be
considered a single broadcast and merged together.
|
String |
getState()
Indicates the current state of the recording configuration.
|
Map<String,String> |
getTags()
Tags attached to the resource.
|
ThumbnailConfiguration |
getThumbnailConfiguration()
A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the
interval at which thumbnails are generated for the live session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Recording-configuration ARN.
|
void |
setDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains information about where recorded video will be stored.
|
void |
setName(String name)
Recording-configuration name.
|
void |
setRecordingReconnectWindowSeconds(Integer recordingReconnectWindowSeconds)
If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be
considered a single broadcast and merged together.
|
void |
setState(String state)
Indicates the current state of the recording configuration.
|
void |
setTags(Map<String,String> tags)
Tags attached to the resource.
|
void |
setThumbnailConfiguration(ThumbnailConfiguration thumbnailConfiguration)
A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the
interval at which thumbnails are generated for the live session.
|
String |
toString()
Returns a string representation of this object.
|
RecordingConfiguration |
withArn(String arn)
Recording-configuration ARN.
|
RecordingConfiguration |
withDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains information about where recorded video will be stored.
|
RecordingConfiguration |
withName(String name)
Recording-configuration name.
|
RecordingConfiguration |
withRecordingReconnectWindowSeconds(Integer recordingReconnectWindowSeconds)
If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be
considered a single broadcast and merged together.
|
RecordingConfiguration |
withState(RecordingConfigurationState state)
Indicates the current state of the recording configuration.
|
RecordingConfiguration |
withState(String state)
Indicates the current state of the recording configuration.
|
RecordingConfiguration |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
RecordingConfiguration |
withThumbnailConfiguration(ThumbnailConfiguration thumbnailConfiguration)
A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the
interval at which thumbnails are generated for the live session.
|
public void setArn(String arn)
Recording-configuration ARN.
arn
- Recording-configuration ARN.public String getArn()
Recording-configuration ARN.
public RecordingConfiguration withArn(String arn)
Recording-configuration ARN.
arn
- Recording-configuration ARN.public void setDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains information about where recorded video will be stored.
destinationConfiguration
- A complex type that contains information about where recorded video will be stored.public DestinationConfiguration getDestinationConfiguration()
A complex type that contains information about where recorded video will be stored.
public RecordingConfiguration withDestinationConfiguration(DestinationConfiguration destinationConfiguration)
A complex type that contains information about where recorded video will be stored.
destinationConfiguration
- A complex type that contains information about where recorded video will be stored.public void setName(String name)
Recording-configuration name. The value does not need to be unique.
name
- Recording-configuration name. The value does not need to be unique.public String getName()
Recording-configuration name. The value does not need to be unique.
public RecordingConfiguration withName(String name)
Recording-configuration name. The value does not need to be unique.
name
- Recording-configuration name. The value does not need to be unique.public void setRecordingReconnectWindowSeconds(Integer recordingReconnectWindowSeconds)
If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.
recordingReconnectWindowSeconds
- If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be
considered a single broadcast and merged together. Default: 0.public Integer getRecordingReconnectWindowSeconds()
If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.
public RecordingConfiguration withRecordingReconnectWindowSeconds(Integer recordingReconnectWindowSeconds)
If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.
recordingReconnectWindowSeconds
- If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be
considered a single broadcast and merged together. Default: 0.public void setState(String state)
Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.
state
- Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.RecordingConfigurationState
public String getState()
Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.
ACTIVE
, the
configuration is ready for recording a channel stream.RecordingConfigurationState
public RecordingConfiguration withState(String state)
Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.
state
- Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.RecordingConfigurationState
public RecordingConfiguration withState(RecordingConfigurationState state)
Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.
state
- Indicates the current state of the recording configuration. When the state is ACTIVE
, the
configuration is ready for recording a channel stream.RecordingConfigurationState
public Map<String,String> getTags()
Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See
Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
there.
string:string (key:value)
. See Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is
documented there.public void setTags(Map<String,String> tags)
Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See
Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
there.
tags
- Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is
documented there.public RecordingConfiguration withTags(Map<String,String> tags)
Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See
Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
there.
tags
- Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is
documented there.public RecordingConfiguration addTagsEntry(String key, String value)
public RecordingConfiguration clearTagsEntries()
public void setThumbnailConfiguration(ThumbnailConfiguration thumbnailConfiguration)
A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
thumbnailConfiguration
- A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify
the interval at which thumbnails are generated for the live session.public ThumbnailConfiguration getThumbnailConfiguration()
A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
public RecordingConfiguration withThumbnailConfiguration(ThumbnailConfiguration thumbnailConfiguration)
A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
thumbnailConfiguration
- A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify
the interval at which thumbnails are generated for the live session.public String toString()
toString
in class Object
Object.toString()
public RecordingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.