/* * Copyright 2010-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; /** *
* A description of the stream's edge configuration that will be used to sync * with the Edge Agent IoT Greengrass component. The Edge Agent component will * run on an IoT Hub Device setup at your premise. *
*/ public class EdgeConfig implements Serializable { /** ** The "Internet of Things (IoT) Thing" Arn of the stream. *
*
* Constraints:
* Length: 1 - 1024
* Pattern: arn:[a-z\d-]+:iot:[a-z0-9-]+:[0-9]+:thing/[a-zA-Z0-9_.-]+
*
*/
private String hubDeviceArn;
/**
*
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as credentials to
* access the local media files streamed on the camera.
*
* The uploader configuration contains the ScheduleExpression
* details that are used to schedule upload jobs for the recorded media
* files from the Edge Agent to a Kinesis Video Stream.
*
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size configuration (
* LocalSizeConfig
) details that are used to make the deletion.
*
* The "Internet of Things (IoT) Thing" Arn of the stream. *
*
* Constraints:
* Length: 1 - 1024
* Pattern: arn:[a-z\d-]+:iot:[a-z0-9-]+:[0-9]+:thing/[a-zA-Z0-9_.-]+
*
*
* @return
* The "Internet of Things (IoT) Thing" Arn of the stream. *
*/ public String getHubDeviceArn() { return hubDeviceArn; } /** ** The "Internet of Things (IoT) Thing" Arn of the stream. *
*
* Constraints:
* Length: 1 - 1024
* Pattern: arn:[a-z\d-]+:iot:[a-z0-9-]+:[0-9]+:thing/[a-zA-Z0-9_.-]+
*
*
* @param hubDeviceArn
* The "Internet of Things (IoT) Thing" Arn of the stream. *
*/ public void setHubDeviceArn(String hubDeviceArn) { this.hubDeviceArn = hubDeviceArn; } /** ** The "Internet of Things (IoT) Thing" Arn of the stream. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 1024
* Pattern: arn:[a-z\d-]+:iot:[a-z0-9-]+:[0-9]+:thing/[a-zA-Z0-9_.-]+
*
*
* @param hubDeviceArn
* The "Internet of Things (IoT) Thing" Arn of the stream. *
* @return A reference to this updated object so that method calls can be * chained together. */ public EdgeConfig withHubDeviceArn(String hubDeviceArn) { this.hubDeviceArn = hubDeviceArn; return this; } /** *
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as credentials to
* access the local media files streamed on the camera.
*
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as
* credentials to access the local media files streamed on the
* camera.
*
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as credentials to
* access the local media files streamed on the camera.
*
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as
* credentials to access the local media files streamed on the
* camera.
*
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as credentials to
* access the local media files streamed on the camera.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param recorderConfig
* The recorder configuration consists of the local
* MediaSourceConfig
details, that are used as
* credentials to access the local media files streamed on the
* camera.
*
* The uploader configuration contains the ScheduleExpression
* details that are used to schedule upload jobs for the recorded media
* files from the Edge Agent to a Kinesis Video Stream.
*
* The uploader configuration contains the
* ScheduleExpression
details that are used to schedule
* upload jobs for the recorded media files from the Edge Agent to a
* Kinesis Video Stream.
*
* The uploader configuration contains the ScheduleExpression
* details that are used to schedule upload jobs for the recorded media
* files from the Edge Agent to a Kinesis Video Stream.
*
* The uploader configuration contains the
* ScheduleExpression
details that are used to
* schedule upload jobs for the recorded media files from the
* Edge Agent to a Kinesis Video Stream.
*
* The uploader configuration contains the ScheduleExpression
* details that are used to schedule upload jobs for the recorded media
* files from the Edge Agent to a Kinesis Video Stream.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param uploaderConfig
* The uploader configuration contains the
* ScheduleExpression
details that are used to
* schedule upload jobs for the recorded media files from the
* Edge Agent to a Kinesis Video Stream.
*
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size configuration (
* LocalSizeConfig
) details that are used to make the deletion.
*
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size configuration (
* LocalSizeConfig
) details that are used to make the
* deletion.
*
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size configuration (
* LocalSizeConfig
) details that are used to make the deletion.
*
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size
* configuration (LocalSizeConfig
) details that are
* used to make the deletion.
*
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size configuration (
* LocalSizeConfig
) details that are used to make the deletion.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param deletionConfig
* The deletion configuration is made up of the retention time (
* EdgeRetentionInHours
) and local size
* configuration (LocalSizeConfig
) details that are
* used to make the deletion.
*