@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MediaStorageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A structure that encapsulates, or contains, the media storage configuration properties.
If StorageStatus
is enabled, the data will be stored in the StreamARN
provided. In order
for WebRTC Ingestion to work, the stream must have data retention enabled.
If StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not
be needed.
Constructor and Description |
---|
MediaStorageConfiguration() |
Modifier and Type | Method and Description |
---|---|
MediaStorageConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of the media storage configuration.
|
String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The status of the media storage configuration.
|
void |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
|
String |
toString()
Returns a string representation of this object.
|
MediaStorageConfiguration |
withStatus(MediaStorageConfigurationStatus status)
The status of the media storage configuration.
|
MediaStorageConfiguration |
withStatus(String status)
The status of the media storage configuration.
|
MediaStorageConfiguration |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
|
public void setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
streamARN
- The Amazon Resource Name (ARN) of the stream.public String getStreamARN()
The Amazon Resource Name (ARN) of the stream.
public MediaStorageConfiguration withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
streamARN
- The Amazon Resource Name (ARN) of the stream.public void setStatus(String status)
The status of the media storage configuration.
status
- The status of the media storage configuration.MediaStorageConfigurationStatus
public String getStatus()
The status of the media storage configuration.
MediaStorageConfigurationStatus
public MediaStorageConfiguration withStatus(String status)
The status of the media storage configuration.
status
- The status of the media storage configuration.MediaStorageConfigurationStatus
public MediaStorageConfiguration withStatus(MediaStorageConfigurationStatus status)
The status of the media storage configuration.
status
- The status of the media storage configuration.MediaStorageConfigurationStatus
public String toString()
toString
in class Object
Object.toString()
public MediaStorageConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.