@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetClipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetClipResult() |
Modifier and Type | Method and Description |
---|---|
GetClipResult |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
The content type of the media in the requested clip.
|
InputStream |
getPayload()
Traditional MP4 file that contains the media clip from the specified video stream.
|
int |
hashCode() |
void |
setContentType(String contentType)
The content type of the media in the requested clip.
|
void |
setPayload(InputStream payload)
Traditional MP4 file that contains the media clip from the specified video stream.
|
String |
toString()
Returns a string representation of this object.
|
GetClipResult |
withContentType(String contentType)
The content type of the media in the requested clip.
|
GetClipResult |
withPayload(InputStream payload)
Traditional MP4 file that contains the media clip from the specified video stream.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContentType(String contentType)
The content type of the media in the requested clip.
contentType
- The content type of the media in the requested clip.public String getContentType()
The content type of the media in the requested clip.
public GetClipResult withContentType(String contentType)
The content type of the media in the requested clip.
contentType
- The content type of the media in the requested clip.public void setPayload(InputStream payload)
Traditional MP4 file that contains the media clip from the specified video stream. The output will contain the first 100 MB or the first 200 fragments from the specified start timestamp. For more information, see Kinesis Video Streams Limits.
payload
- Traditional MP4 file that contains the media clip from the specified video stream. The output will contain
the first 100 MB or the first 200 fragments from the specified start timestamp. For more information, see
Kinesis Video Streams
Limits.public InputStream getPayload()
Traditional MP4 file that contains the media clip from the specified video stream. The output will contain the first 100 MB or the first 200 fragments from the specified start timestamp. For more information, see Kinesis Video Streams Limits.
public GetClipResult withPayload(InputStream payload)
Traditional MP4 file that contains the media clip from the specified video stream. The output will contain the first 100 MB or the first 200 fragments from the specified start timestamp. For more information, see Kinesis Video Streams Limits.
payload
- Traditional MP4 file that contains the media clip from the specified video stream. The output will contain
the first 100 MB or the first 200 fragments from the specified start timestamp. For more information, see
Kinesis Video Streams
Limits.public String toString()
toString
in class Object
Object.toString()
public GetClipResult clone()