All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.ivs.RecordingConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.ivs;

import com.pulumi.aws.ivs.inputs.RecordingConfigurationDestinationConfigurationArgs;
import com.pulumi.aws.ivs.inputs.RecordingConfigurationThumbnailConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class RecordingConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final RecordingConfigurationArgs Empty = new RecordingConfigurationArgs();

    /**
     * Object containing destination configuration for where recorded video will be stored.
     * 
     */
    @Import(name="destinationConfiguration", required=true)
    private Output destinationConfiguration;

    /**
     * @return Object containing destination configuration for where recorded video will be stored.
     * 
     */
    public Output destinationConfiguration() {
        return this.destinationConfiguration;
    }

    /**
     * Recording Configuration name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Recording Configuration name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together.
     * 
     */
    @Import(name="recordingReconnectWindowSeconds")
    private @Nullable Output recordingReconnectWindowSeconds;

    /**
     * @return If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together.
     * 
     */
    public Optional> recordingReconnectWindowSeconds() {
        return Optional.ofNullable(this.recordingReconnectWindowSeconds);
    }

    /**
     * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Object containing information to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
     * 
     */
    @Import(name="thumbnailConfiguration")
    private @Nullable Output thumbnailConfiguration;

    /**
     * @return Object containing information to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
     * 
     */
    public Optional> thumbnailConfiguration() {
        return Optional.ofNullable(this.thumbnailConfiguration);
    }

    private RecordingConfigurationArgs() {}

    private RecordingConfigurationArgs(RecordingConfigurationArgs $) {
        this.destinationConfiguration = $.destinationConfiguration;
        this.name = $.name;
        this.recordingReconnectWindowSeconds = $.recordingReconnectWindowSeconds;
        this.tags = $.tags;
        this.thumbnailConfiguration = $.thumbnailConfiguration;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(RecordingConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private RecordingConfigurationArgs $;

        public Builder() {
            $ = new RecordingConfigurationArgs();
        }

        public Builder(RecordingConfigurationArgs defaults) {
            $ = new RecordingConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param destinationConfiguration Object containing destination configuration for where recorded video will be stored.
         * 
         * @return builder
         * 
         */
        public Builder destinationConfiguration(Output destinationConfiguration) {
            $.destinationConfiguration = destinationConfiguration;
            return this;
        }

        /**
         * @param destinationConfiguration Object containing destination configuration for where recorded video will be stored.
         * 
         * @return builder
         * 
         */
        public Builder destinationConfiguration(RecordingConfigurationDestinationConfigurationArgs destinationConfiguration) {
            return destinationConfiguration(Output.of(destinationConfiguration));
        }

        /**
         * @param name Recording Configuration name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Recording Configuration name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param recordingReconnectWindowSeconds If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together.
         * 
         * @return builder
         * 
         */
        public Builder recordingReconnectWindowSeconds(@Nullable Output recordingReconnectWindowSeconds) {
            $.recordingReconnectWindowSeconds = recordingReconnectWindowSeconds;
            return this;
        }

        /**
         * @param recordingReconnectWindowSeconds If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together.
         * 
         * @return builder
         * 
         */
        public Builder recordingReconnectWindowSeconds(Integer recordingReconnectWindowSeconds) {
            return recordingReconnectWindowSeconds(Output.of(recordingReconnectWindowSeconds));
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param thumbnailConfiguration Object containing information to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
         * 
         * @return builder
         * 
         */
        public Builder thumbnailConfiguration(@Nullable Output thumbnailConfiguration) {
            $.thumbnailConfiguration = thumbnailConfiguration;
            return this;
        }

        /**
         * @param thumbnailConfiguration Object containing information to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.
         * 
         * @return builder
         * 
         */
        public Builder thumbnailConfiguration(RecordingConfigurationThumbnailConfigurationArgs thumbnailConfiguration) {
            return thumbnailConfiguration(Output.of(thumbnailConfiguration));
        }

        public RecordingConfigurationArgs build() {
            if ($.destinationConfiguration == null) {
                throw new MissingRequiredPropertyException("RecordingConfigurationArgs", "destinationConfiguration");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy