@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MediaSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration details that consist of the credentials required (MediaUriSecretArn
and
MediaUriType
) to access the media files that are streamed to the camera.
Constructor and Description |
---|
MediaSourceConfig() |
Modifier and Type | Method and Description |
---|---|
MediaSourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getMediaUriSecretArn()
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file
location.
|
String |
getMediaUriType()
The Uniform Resource Identifier (URI) type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMediaUriSecretArn(String mediaUriSecretArn)
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file
location.
|
void |
setMediaUriType(String mediaUriType)
The Uniform Resource Identifier (URI) type.
|
String |
toString()
Returns a string representation of this object.
|
MediaSourceConfig |
withMediaUriSecretArn(String mediaUriSecretArn)
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file
location.
|
MediaSourceConfig |
withMediaUriType(MediaUriType mediaUriType)
The Uniform Resource Identifier (URI) type.
|
MediaSourceConfig |
withMediaUriType(String mediaUriType)
The Uniform Resource Identifier (URI) type.
|
public void setMediaUriSecretArn(String mediaUriSecretArn)
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.
mediaUriSecretArn
- The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media
file location.public String getMediaUriSecretArn()
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.
public MediaSourceConfig withMediaUriSecretArn(String mediaUriSecretArn)
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.
mediaUriSecretArn
- The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media
file location.public void setMediaUriType(String mediaUriType)
The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local media
files.
Preview only supports the RTSP_URI
media source URI format .
mediaUriType
- The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local
media files.
Preview only supports the RTSP_URI
media source URI format .
MediaUriType
public String getMediaUriType()
The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local media
files.
Preview only supports the RTSP_URI
media source URI format .
FILE_URI
value can be used to stream local
media files.
Preview only supports the RTSP_URI
media source URI format .
MediaUriType
public MediaSourceConfig withMediaUriType(String mediaUriType)
The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local media
files.
Preview only supports the RTSP_URI
media source URI format .
mediaUriType
- The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local
media files.
Preview only supports the RTSP_URI
media source URI format .
MediaUriType
public MediaSourceConfig withMediaUriType(MediaUriType mediaUriType)
The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local media
files.
Preview only supports the RTSP_URI
media source URI format .
mediaUriType
- The Uniform Resource Identifier (URI) type. The FILE_URI
value can be used to stream local
media files.
Preview only supports the RTSP_URI
media source URI format .
MediaUriType
public String toString()
toString
in class Object
Object.toString()
public MediaSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.