@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutMediaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| PutMediaRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| PutMediaRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getFragmentTimecodeType()
 You pass this value as the  x-amzn-fragment-timecode-typeHTTP header. | 
| InputStream | getPayload()
 The media content to write to the Kinesis video stream. | 
| Date | getProducerStartTimestamp()
 You pass this value as the  x-amzn-producer-start-timestampHTTP header. | 
| String | getStreamARN()
 You pass this value as the  x-amzn-stream-arnHTTP header. | 
| String | getStreamName()
 You pass this value as the  x-amzn-stream-nameHTTP header. | 
| int | hashCode() | 
| void | setFragmentTimecodeType(String fragmentTimecodeType)
 You pass this value as the  x-amzn-fragment-timecode-typeHTTP header. | 
| void | setPayload(InputStream payload)
 The media content to write to the Kinesis video stream. | 
| void | setProducerStartTimestamp(Date producerStartTimestamp)
 You pass this value as the  x-amzn-producer-start-timestampHTTP header. | 
| void | setStreamARN(String streamARN)
 You pass this value as the  x-amzn-stream-arnHTTP header. | 
| void | setStreamName(String streamName)
 You pass this value as the  x-amzn-stream-nameHTTP header. | 
| String | toString()Returns a string representation of this object. | 
| PutMediaRequest | withFragmentTimecodeType(FragmentTimecodeType fragmentTimecodeType)
 You pass this value as the  x-amzn-fragment-timecode-typeHTTP header. | 
| PutMediaRequest | withFragmentTimecodeType(String fragmentTimecodeType)
 You pass this value as the  x-amzn-fragment-timecode-typeHTTP header. | 
| PutMediaRequest | withPayload(InputStream payload)
 The media content to write to the Kinesis video stream. | 
| PutMediaRequest | withProducerStartTimestamp(Date producerStartTimestamp)
 You pass this value as the  x-amzn-producer-start-timestampHTTP header. | 
| PutMediaRequest | withStreamARN(String streamARN)
 You pass this value as the  x-amzn-stream-arnHTTP header. | 
| PutMediaRequest | withStreamName(String streamName)
 You pass this value as the  x-amzn-stream-nameHTTP header. | 
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, withSdkRequestTimeoutpublic void setStreamName(String streamName)
 You pass this value as the x-amzn-stream-name HTTP header.
 
 Name of the Kinesis video stream where you want to write the media content. If you don't specify the
 streamName, you must specify the streamARN.
 
streamName - You pass this value as the x-amzn-stream-name HTTP header.
        
        Name of the Kinesis video stream where you want to write the media content. If you don't specify the
        streamName, you must specify the streamARN.
public String getStreamName()
 You pass this value as the x-amzn-stream-name HTTP header.
 
 Name of the Kinesis video stream where you want to write the media content. If you don't specify the
 streamName, you must specify the streamARN.
 
x-amzn-stream-name HTTP header.
         
         Name of the Kinesis video stream where you want to write the media content. If you don't specify the
         streamName, you must specify the streamARN.
public PutMediaRequest withStreamName(String streamName)
 You pass this value as the x-amzn-stream-name HTTP header.
 
 Name of the Kinesis video stream where you want to write the media content. If you don't specify the
 streamName, you must specify the streamARN.
 
streamName - You pass this value as the x-amzn-stream-name HTTP header.
        
        Name of the Kinesis video stream where you want to write the media content. If you don't specify the
        streamName, you must specify the streamARN.
public void setStreamARN(String streamARN)
 You pass this value as the x-amzn-stream-arn HTTP header.
 
 Amazon Resource Name (ARN) of the Kinesis video stream where you want to write the media content. If you don't
 specify the streamARN, you must specify the streamName.
 
streamARN - You pass this value as the x-amzn-stream-arn HTTP header.
        
        Amazon Resource Name (ARN) of the Kinesis video stream where you want to write the media content. If you
        don't specify the streamARN, you must specify the streamName.
public String getStreamARN()
 You pass this value as the x-amzn-stream-arn HTTP header.
 
 Amazon Resource Name (ARN) of the Kinesis video stream where you want to write the media content. If you don't
 specify the streamARN, you must specify the streamName.
 
x-amzn-stream-arn HTTP header.
         
         Amazon Resource Name (ARN) of the Kinesis video stream where you want to write the media content. If you
         don't specify the streamARN, you must specify the streamName.
public PutMediaRequest withStreamARN(String streamARN)
 You pass this value as the x-amzn-stream-arn HTTP header.
 
 Amazon Resource Name (ARN) of the Kinesis video stream where you want to write the media content. If you don't
 specify the streamARN, you must specify the streamName.
 
streamARN - You pass this value as the x-amzn-stream-arn HTTP header.
        
        Amazon Resource Name (ARN) of the Kinesis video stream where you want to write the media content. If you
        don't specify the streamARN, you must specify the streamName.
public void setFragmentTimecodeType(String fragmentTimecodeType)
 You pass this value as the x-amzn-fragment-timecode-type HTTP header.
 
 Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
 producerStartTimestamp. Kinesis Video Streams uses this information to compute the
 producer_timestamp for the fragment received in the request, as described in the API overview.
 
fragmentTimecodeType - You pass this value as the x-amzn-fragment-timecode-type HTTP header.
        
        Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
        producerStartTimestamp. Kinesis Video Streams uses this information to compute the
        producer_timestamp for the fragment received in the request, as described in the API
        overview.
FragmentTimecodeTypepublic String getFragmentTimecodeType()
 You pass this value as the x-amzn-fragment-timecode-type HTTP header.
 
 Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
 producerStartTimestamp. Kinesis Video Streams uses this information to compute the
 producer_timestamp for the fragment received in the request, as described in the API overview.
 
x-amzn-fragment-timecode-type HTTP header.
         
         Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
         producerStartTimestamp. Kinesis Video Streams uses this information to compute the
         producer_timestamp for the fragment received in the request, as described in the API
         overview.
FragmentTimecodeTypepublic PutMediaRequest withFragmentTimecodeType(String fragmentTimecodeType)
 You pass this value as the x-amzn-fragment-timecode-type HTTP header.
 
 Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
 producerStartTimestamp. Kinesis Video Streams uses this information to compute the
 producer_timestamp for the fragment received in the request, as described in the API overview.
 
fragmentTimecodeType - You pass this value as the x-amzn-fragment-timecode-type HTTP header.
        
        Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
        producerStartTimestamp. Kinesis Video Streams uses this information to compute the
        producer_timestamp for the fragment received in the request, as described in the API
        overview.
FragmentTimecodeTypepublic PutMediaRequest withFragmentTimecodeType(FragmentTimecodeType fragmentTimecodeType)
 You pass this value as the x-amzn-fragment-timecode-type HTTP header.
 
 Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
 producerStartTimestamp. Kinesis Video Streams uses this information to compute the
 producer_timestamp for the fragment received in the request, as described in the API overview.
 
fragmentTimecodeType - You pass this value as the x-amzn-fragment-timecode-type HTTP header.
        
        Indicates whether timecodes in the fragments (payload, HTTP request body) are absolute or relative to
        producerStartTimestamp. Kinesis Video Streams uses this information to compute the
        producer_timestamp for the fragment received in the request, as described in the API
        overview.
FragmentTimecodeTypepublic void setProducerStartTimestamp(Date producerStartTimestamp)
 You pass this value as the x-amzn-producer-start-timestamp HTTP header.
 
This is the producer time stamp at which the producer started recording the media (not the time stamp of the specific fragments in the request).
producerStartTimestamp - You pass this value as the x-amzn-producer-start-timestamp HTTP header.
        This is the producer time stamp at which the producer started recording the media (not the time stamp of the specific fragments in the request).
public Date getProducerStartTimestamp()
 You pass this value as the x-amzn-producer-start-timestamp HTTP header.
 
This is the producer time stamp at which the producer started recording the media (not the time stamp of the specific fragments in the request).
x-amzn-producer-start-timestamp HTTP header.
         This is the producer time stamp at which the producer started recording the media (not the time stamp of the specific fragments in the request).
public PutMediaRequest withProducerStartTimestamp(Date producerStartTimestamp)
 You pass this value as the x-amzn-producer-start-timestamp HTTP header.
 
This is the producer time stamp at which the producer started recording the media (not the time stamp of the specific fragments in the request).
producerStartTimestamp - You pass this value as the x-amzn-producer-start-timestamp HTTP header.
        This is the producer time stamp at which the producer started recording the media (not the time stamp of the specific fragments in the request).
public void setPayload(InputStream payload)
The media content to write to the Kinesis video stream. In the current implementation, Kinesis Video Streams supports only the Matroska (MKV) container format with a single MKV segment. A segment can contain one or more clusters.
Each MKV cluster maps to a Kinesis video stream fragment. Whatever cluster duration you choose becomes the fragment duration.
payload - The media content to write to the Kinesis video stream. In the current implementation, Kinesis Video
        Streams supports only the Matroska (MKV) container format with a single MKV segment. A segment can contain
        one or more clusters.  Each MKV cluster maps to a Kinesis video stream fragment. Whatever cluster duration you choose becomes the fragment duration.
public InputStream getPayload()
The media content to write to the Kinesis video stream. In the current implementation, Kinesis Video Streams supports only the Matroska (MKV) container format with a single MKV segment. A segment can contain one or more clusters.
Each MKV cluster maps to a Kinesis video stream fragment. Whatever cluster duration you choose becomes the fragment duration.
Each MKV cluster maps to a Kinesis video stream fragment. Whatever cluster duration you choose becomes the fragment duration.
public PutMediaRequest withPayload(InputStream payload)
The media content to write to the Kinesis video stream. In the current implementation, Kinesis Video Streams supports only the Matroska (MKV) container format with a single MKV segment. A segment can contain one or more clusters.
Each MKV cluster maps to a Kinesis video stream fragment. Whatever cluster duration you choose becomes the fragment duration.
payload - The media content to write to the Kinesis video stream. In the current implementation, Kinesis Video
        Streams supports only the Matroska (MKV) container format with a single MKV segment. A segment can contain
        one or more clusters.  Each MKV cluster maps to a Kinesis video stream fragment. Whatever cluster duration you choose becomes the fragment duration.
public String toString()
toString in class ObjectObject.toString()public PutMediaRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()