@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RenditionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Object that describes which renditions should be recorded for a stream.
| Constructor and Description |
|---|
RenditionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RenditionConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRenditions()
Indicates which renditions are recorded for a stream, if
renditionSelection is CUSTOM;
otherwise, this field is irrelevant. |
String |
getRenditionSelection()
Indicates which set of renditions are recorded for a stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRenditions(Collection<String> renditions)
Indicates which renditions are recorded for a stream, if
renditionSelection is CUSTOM;
otherwise, this field is irrelevant. |
void |
setRenditionSelection(String renditionSelection)
Indicates which set of renditions are recorded for a stream.
|
String |
toString()
Returns a string representation of this object.
|
RenditionConfiguration |
withRenditions(Collection<String> renditions)
Indicates which renditions are recorded for a stream, if
renditionSelection is CUSTOM;
otherwise, this field is irrelevant. |
RenditionConfiguration |
withRenditions(RenditionConfigurationRendition... renditions)
Indicates which renditions are recorded for a stream, if
renditionSelection is CUSTOM;
otherwise, this field is irrelevant. |
RenditionConfiguration |
withRenditions(String... renditions)
Indicates which renditions are recorded for a stream, if
renditionSelection is CUSTOM;
otherwise, this field is irrelevant. |
RenditionConfiguration |
withRenditionSelection(RenditionConfigurationRenditionSelection renditionSelection)
Indicates which set of renditions are recorded for a stream.
|
RenditionConfiguration |
withRenditionSelection(String renditionSelection)
Indicates which set of renditions are recorded for a stream.
|
public void setRenditionSelection(String renditionSelection)
Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.
renditionSelection - Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.RenditionConfigurationRenditionSelectionpublic String getRenditionSelection()
Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.
BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.RenditionConfigurationRenditionSelectionpublic RenditionConfiguration withRenditionSelection(String renditionSelection)
Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.
renditionSelection - Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.RenditionConfigurationRenditionSelectionpublic RenditionConfiguration withRenditionSelection(RenditionConfigurationRenditionSelection renditionSelection)
Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.
renditionSelection - Indicates which set of renditions are recorded for a stream. For BASIC channels, the
CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be
specified in the renditions field. Default: ALL.RenditionConfigurationRenditionSelectionpublic List<String> getRenditions()
Indicates which renditions are recorded for a stream, if renditionSelection is CUSTOM;
otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the
stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the
resolution dimensions of each rendition, see Auto-Record to Amazon S3.
renditionSelection is
CUSTOM; otherwise, this field is irrelevant. The selected renditions are recorded if they
are available during the stream. If a selected rendition is unavailable, the best available rendition is
recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.RenditionConfigurationRenditionpublic void setRenditions(Collection<String> renditions)
Indicates which renditions are recorded for a stream, if renditionSelection is CUSTOM;
otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the
stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the
resolution dimensions of each rendition, see Auto-Record to Amazon S3.
renditions - Indicates which renditions are recorded for a stream, if renditionSelection is
CUSTOM; otherwise, this field is irrelevant. The selected renditions are recorded if they are
available during the stream. If a selected rendition is unavailable, the best available rendition is
recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.RenditionConfigurationRenditionpublic RenditionConfiguration withRenditions(String... renditions)
Indicates which renditions are recorded for a stream, if renditionSelection is CUSTOM;
otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the
stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the
resolution dimensions of each rendition, see Auto-Record to Amazon S3.
NOTE: This method appends the values to the existing list (if any). Use
setRenditions(java.util.Collection) or withRenditions(java.util.Collection) if you want to
override the existing values.
renditions - Indicates which renditions are recorded for a stream, if renditionSelection is
CUSTOM; otherwise, this field is irrelevant. The selected renditions are recorded if they are
available during the stream. If a selected rendition is unavailable, the best available rendition is
recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.RenditionConfigurationRenditionpublic RenditionConfiguration withRenditions(Collection<String> renditions)
Indicates which renditions are recorded for a stream, if renditionSelection is CUSTOM;
otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the
stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the
resolution dimensions of each rendition, see Auto-Record to Amazon S3.
renditions - Indicates which renditions are recorded for a stream, if renditionSelection is
CUSTOM; otherwise, this field is irrelevant. The selected renditions are recorded if they are
available during the stream. If a selected rendition is unavailable, the best available rendition is
recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.RenditionConfigurationRenditionpublic RenditionConfiguration withRenditions(RenditionConfigurationRendition... renditions)
Indicates which renditions are recorded for a stream, if renditionSelection is CUSTOM;
otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the
stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the
resolution dimensions of each rendition, see Auto-Record to Amazon S3.
renditions - Indicates which renditions are recorded for a stream, if renditionSelection is
CUSTOM; otherwise, this field is irrelevant. The selected renditions are recorded if they are
available during the stream. If a selected rendition is unavailable, the best available rendition is
recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.RenditionConfigurationRenditionpublic String toString()
toString in class ObjectObject.toString()public RenditionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.