Class MediaSourceConfig
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaSourceConfig.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.final MediaUriTypeThe Uniform Resource Identifier (URI) type.final StringThe Uniform Resource Identifier (URI) type.static Class<? extends MediaSourceConfig.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MediaSourceConfig.Builder,MediaSourceConfig>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-