public class Media
extends java.lang.Object
implements java.io.Serializable
Describes the input media file in a transcription request.
Constructor and Description |
---|
Media() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMediaFileUri()
The S3 object location of the input media file.
|
int |
hashCode() |
void |
setMediaFileUri(java.lang.String mediaFileUri)
The S3 object location of the input media file.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Media |
withMediaFileUri(java.lang.String mediaFileUri)
The S3 object location of the input media file.
|
public java.lang.String getMediaFileUri()
The S3 object 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:
For example:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
The S3 object 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:
For example:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
public void setMediaFileUri(java.lang.String mediaFileUri)
The S3 object 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:
For example:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
mediaFileUri
- The S3 object 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:
For example:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
public Media withMediaFileUri(java.lang.String mediaFileUri)
The S3 object 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:
For example:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
mediaFileUri
- The S3 object 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:
For example:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.