@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Media extends Object implements Serializable, Cloneable, StructuredPojo
Describes the input media file in a transcription request.
| Constructor and Description |
|---|
Media() |
| Modifier and Type | Method and Description |
|---|---|
Media |
clone() |
boolean |
equals(Object obj) |
String |
getMediaFileUri()
The S3 location of the input media file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMediaFileUri(String mediaFileUri)
The S3 location of the input media file.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Media |
withMediaFileUri(String mediaFileUri)
The S3 location of the input media file.
|
public void setMediaFileUri(String mediaFileUri)
The S3 location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:
https://<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
For example:
https://s3-us-east-1.amazonaws.com/examplebucket/example.mp4
https://s3-us-east-1.amazonaws.com/examplebucket/mediadocs/example.mp4
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
mediaFileUri - The S3 location of the input media file. The URI must be in the same region as the API endpoint that you
are calling. The general form is:
https://<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
For example:
https://s3-us-east-1.amazonaws.com/examplebucket/example.mp4
https://s3-us-east-1.amazonaws.com/examplebucket/mediadocs/example.mp4
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
public String getMediaFileUri()
The S3 location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:
https://<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
For example:
https://s3-us-east-1.amazonaws.com/examplebucket/example.mp4
https://s3-us-east-1.amazonaws.com/examplebucket/mediadocs/example.mp4
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
https://<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
For example:
https://s3-us-east-1.amazonaws.com/examplebucket/example.mp4
https://s3-us-east-1.amazonaws.com/examplebucket/mediadocs/example.mp4
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
public Media withMediaFileUri(String mediaFileUri)
The S3 location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:
https://<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
For example:
https://s3-us-east-1.amazonaws.com/examplebucket/example.mp4
https://s3-us-east-1.amazonaws.com/examplebucket/mediadocs/example.mp4
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
mediaFileUri - The S3 location of the input media file. The URI must be in the same region as the API endpoint that you
are calling. The general form is:
https://<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
For example:
https://s3-us-east-1.amazonaws.com/examplebucket/example.mp4
https://s3-us-east-1.amazonaws.com/examplebucket/mediadocs/example.mp4
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.