/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.kinesisvideo.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The configuration details that consist of the credentials required (MediaUriSecretArn
and
* MediaUriType
) to access the media files that are streamed to the camera.
*
* The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file * location. *
*/ private String mediaUriSecretArn; /** *
* 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 .
*
* The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file * location. *
* * @param mediaUriSecretArn * The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media * file location. */ public void setMediaUriSecretArn(String mediaUriSecretArn) { this.mediaUriSecretArn = mediaUriSecretArn; } /** ** The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file * location. *
* * @return The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media * file location. */ public String getMediaUriSecretArn() { return this.mediaUriSecretArn; } /** ** The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file * location. *
* * @param mediaUriSecretArn * The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media * file location. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaSourceConfig withMediaUriSecretArn(String mediaUriSecretArn) { setMediaUriSecretArn(mediaUriSecretArn); return this; } /** *
* 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 .
*
* 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 .
*
* 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 .
*
* 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 .
*