Class MediaSourceConfig
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisvideo.model.MediaSourceConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MediaSourceConfig.Builder,MediaSourceConfig>
@Generated("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 (
MediaUriSecretArnandMediaUriType) to access the media files that are streamed to the camera.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMediaSourceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaSourceConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmediaUriSecretArn()The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.MediaUriTypemediaUriType()The Uniform Resource Identifier (URI) type.StringmediaUriTypeAsString()The Uniform Resource Identifier (URI) type.List<SdkField<?>>sdkFields()static Class<? extends MediaSourceConfig.Builder>serializableBuilderClass()MediaSourceConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
mediaUriSecretArn
public final String mediaUriSecretArn()
The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.
- Returns:
- The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.
-
mediaUriType
public final MediaUriType mediaUriType()
The Uniform Resource Identifier (URI) type. The
FILE_URIvalue can be used to stream local media files.Preview only supports the
RTSP_URImedia source URI format .If the service returns an enum value that is not available in the current SDK version,
mediaUriTypewill returnMediaUriType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommediaUriTypeAsString().- Returns:
- The Uniform Resource Identifier (URI) type. The
FILE_URIvalue can be used to stream local media files.Preview only supports the
RTSP_URImedia source URI format . - See Also:
MediaUriType
-
mediaUriTypeAsString
public final String mediaUriTypeAsString()
The Uniform Resource Identifier (URI) type. The
FILE_URIvalue can be used to stream local media files.Preview only supports the
RTSP_URImedia source URI format .If the service returns an enum value that is not available in the current SDK version,
mediaUriTypewill returnMediaUriType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommediaUriTypeAsString().- Returns:
- The Uniform Resource Identifier (URI) type. The
FILE_URIvalue can be used to stream local media files.Preview only supports the
RTSP_URImedia source URI format . - See Also:
MediaUriType
-
toBuilder
public MediaSourceConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MediaSourceConfig.Builder,MediaSourceConfig>
-
builder
public static MediaSourceConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends MediaSourceConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-