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

com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs Maven / Gradle / Ivy

Go to download

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

The 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.medialive.inputs;

import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArchiveCdnSettingsArgs;
import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingDestinationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs Empty = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs();

    /**
     * Parameters that control the interactions with the CDN. See Archive CDN Settings for more details.
     * 
     */
    @Import(name="archiveCdnSettings")
    private @Nullable Output archiveCdnSettings;

    /**
     * @return Parameters that control the interactions with the CDN. See Archive CDN Settings for more details.
     * 
     */
    public Optional> archiveCdnSettings() {
        return Optional.ofNullable(this.archiveCdnSettings);
    }

    /**
     * A director and base filename where archive files should be written. See Destination for more details.
     * 
     */
    @Import(name="destination", required=true)
    private Output destination;

    /**
     * @return A director and base filename where archive files should be written. See Destination for more details.
     * 
     */
    public Output destination() {
        return this.destination;
    }

    /**
     * Number of seconds to write to archive file before closing and starting a new one.
     * 
     */
    @Import(name="rolloverInterval")
    private @Nullable Output rolloverInterval;

    /**
     * @return Number of seconds to write to archive file before closing and starting a new one.
     * 
     */
    public Optional> rolloverInterval() {
        return Optional.ofNullable(this.rolloverInterval);
    }

    private ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs() {}

    private ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs(ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs $) {
        this.archiveCdnSettings = $.archiveCdnSettings;
        this.destination = $.destination;
        this.rolloverInterval = $.rolloverInterval;
    }

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

    public static final class Builder {
        private ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArgs $;

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

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

        /**
         * @param archiveCdnSettings Parameters that control the interactions with the CDN. See Archive CDN Settings for more details.
         * 
         * @return builder
         * 
         */
        public Builder archiveCdnSettings(@Nullable Output archiveCdnSettings) {
            $.archiveCdnSettings = archiveCdnSettings;
            return this;
        }

        /**
         * @param archiveCdnSettings Parameters that control the interactions with the CDN. See Archive CDN Settings for more details.
         * 
         * @return builder
         * 
         */
        public Builder archiveCdnSettings(ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingArchiveCdnSettingsArgs archiveCdnSettings) {
            return archiveCdnSettings(Output.of(archiveCdnSettings));
        }

        /**
         * @param destination A director and base filename where archive files should be written. See Destination for more details.
         * 
         * @return builder
         * 
         */
        public Builder destination(Output destination) {
            $.destination = destination;
            return this;
        }

        /**
         * @param destination A director and base filename where archive files should be written. See Destination for more details.
         * 
         * @return builder
         * 
         */
        public Builder destination(ChannelEncoderSettingsOutputGroupOutputGroupSettingsArchiveGroupSettingDestinationArgs destination) {
            return destination(Output.of(destination));
        }

        /**
         * @param rolloverInterval Number of seconds to write to archive file before closing and starting a new one.
         * 
         * @return builder
         * 
         */
        public Builder rolloverInterval(@Nullable Output rolloverInterval) {
            $.rolloverInterval = rolloverInterval;
            return this;
        }

        /**
         * @param rolloverInterval Number of seconds to write to archive file before closing and starting a new one.
         * 
         * @return builder
         * 
         */
        public Builder rolloverInterval(Integer rolloverInterval) {
            return rolloverInterval(Output.of(rolloverInterval));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy