@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalSizeConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration details that include the maximum size of the media (MaxLocalMediaSizeInMB
) that you
want to store for a stream on the Edge Agent, as well as the strategy that should be used (
StrategyOnFullSize
) when a stream's maximum size has been reached.
Constructor and Description |
---|
LocalSizeConfig() |
Modifier and Type | Method and Description |
---|---|
LocalSizeConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxLocalMediaSizeInMB()
The overall maximum size of the media that you want to store for a stream on the Edge Agent.
|
String |
getStrategyOnFullSize()
The strategy to perform when a stream’s
MaxLocalMediaSizeInMB limit is reached. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxLocalMediaSizeInMB(Integer maxLocalMediaSizeInMB)
The overall maximum size of the media that you want to store for a stream on the Edge Agent.
|
void |
setStrategyOnFullSize(String strategyOnFullSize)
The strategy to perform when a stream’s
MaxLocalMediaSizeInMB limit is reached. |
String |
toString()
Returns a string representation of this object.
|
LocalSizeConfig |
withMaxLocalMediaSizeInMB(Integer maxLocalMediaSizeInMB)
The overall maximum size of the media that you want to store for a stream on the Edge Agent.
|
LocalSizeConfig |
withStrategyOnFullSize(StrategyOnFullSize strategyOnFullSize)
The strategy to perform when a stream’s
MaxLocalMediaSizeInMB limit is reached. |
LocalSizeConfig |
withStrategyOnFullSize(String strategyOnFullSize)
The strategy to perform when a stream’s
MaxLocalMediaSizeInMB limit is reached. |
public void setMaxLocalMediaSizeInMB(Integer maxLocalMediaSizeInMB)
The overall maximum size of the media that you want to store for a stream on the Edge Agent.
maxLocalMediaSizeInMB
- The overall maximum size of the media that you want to store for a stream on the Edge Agent.public Integer getMaxLocalMediaSizeInMB()
The overall maximum size of the media that you want to store for a stream on the Edge Agent.
public LocalSizeConfig withMaxLocalMediaSizeInMB(Integer maxLocalMediaSizeInMB)
The overall maximum size of the media that you want to store for a stream on the Edge Agent.
maxLocalMediaSizeInMB
- The overall maximum size of the media that you want to store for a stream on the Edge Agent.public void setStrategyOnFullSize(String strategyOnFullSize)
The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.
strategyOnFullSize
- The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.StrategyOnFullSize
public String getStrategyOnFullSize()
The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.
MaxLocalMediaSizeInMB
limit is reached.StrategyOnFullSize
public LocalSizeConfig withStrategyOnFullSize(String strategyOnFullSize)
The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.
strategyOnFullSize
- The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.StrategyOnFullSize
public LocalSizeConfig withStrategyOnFullSize(StrategyOnFullSize strategyOnFullSize)
The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.
strategyOnFullSize
- The strategy to perform when a stream’s MaxLocalMediaSizeInMB
limit is reached.StrategyOnFullSize
public String toString()
toString
in class Object
Object.toString()
public LocalSizeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.