@Generated(value="software.amazon.awssdk:codegen") public final class MediaSourceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MediaSourceConfig.Builder,MediaSourceConfig>
The configuration details that consist of the credentials required (MediaUriSecretArn and
MediaUriType) to access the media files that are streamed to the camera.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MediaSourceConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MediaSourceConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
mediaUriSecretArn()
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file
location.
|
MediaUriType |
mediaUriType()
The Uniform Resource Identifier (URI) type.
|
String |
mediaUriTypeAsString()
The Uniform Resource Identifier (URI) type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MediaSourceConfig.Builder> |
serializableBuilderClass() |
MediaSourceConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String mediaUriSecretArn()
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.
public final 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 .
If the service returns an enum value that is not available in the current SDK version, mediaUriType will
return MediaUriType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mediaUriTypeAsString().
FILE_URI value can be used to stream local
media files.
Preview only supports the RTSP_URI media source URI format .
MediaUriTypepublic final String mediaUriTypeAsString()
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 .
If the service returns an enum value that is not available in the current SDK version, mediaUriType will
return MediaUriType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mediaUriTypeAsString().
FILE_URI value can be used to stream local
media files.
Preview only supports the RTSP_URI media source URI format .
MediaUriTypepublic MediaSourceConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MediaSourceConfig.Builder,MediaSourceConfig>public static MediaSourceConfig.Builder builder()
public static Class<? extends MediaSourceConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.