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

com.pulumi.aws.connect.outputs.InstanceStorageConfigStorageConfig 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.connect.outputs;

import com.pulumi.aws.connect.outputs.InstanceStorageConfigStorageConfigKinesisFirehoseConfig;
import com.pulumi.aws.connect.outputs.InstanceStorageConfigStorageConfigKinesisStreamConfig;
import com.pulumi.aws.connect.outputs.InstanceStorageConfigStorageConfigKinesisVideoStreamConfig;
import com.pulumi.aws.connect.outputs.InstanceStorageConfigStorageConfigS3Config;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class InstanceStorageConfigStorageConfig {
    /**
     * @return A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
     * 
     */
    private @Nullable InstanceStorageConfigStorageConfigKinesisFirehoseConfig kinesisFirehoseConfig;
    /**
     * @return A block that specifies the configuration of the Kinesis data stream. Documented below.
     * 
     */
    private @Nullable InstanceStorageConfigStorageConfigKinesisStreamConfig kinesisStreamConfig;
    /**
     * @return A block that specifies the configuration of the Kinesis video stream. Documented below.
     * 
     */
    private @Nullable InstanceStorageConfigStorageConfigKinesisVideoStreamConfig kinesisVideoStreamConfig;
    /**
     * @return A block that specifies the configuration of S3 Bucket. Documented below.
     * 
     */
    private @Nullable InstanceStorageConfigStorageConfigS3Config s3Config;
    /**
     * @return A valid storage type. Valid Values: `S3` | `KINESIS_VIDEO_STREAM` | `KINESIS_STREAM` | `KINESIS_FIREHOSE`.
     * 
     */
    private String storageType;

    private InstanceStorageConfigStorageConfig() {}
    /**
     * @return A block that specifies the configuration of the Kinesis Firehose delivery stream. Documented below.
     * 
     */
    public Optional kinesisFirehoseConfig() {
        return Optional.ofNullable(this.kinesisFirehoseConfig);
    }
    /**
     * @return A block that specifies the configuration of the Kinesis data stream. Documented below.
     * 
     */
    public Optional kinesisStreamConfig() {
        return Optional.ofNullable(this.kinesisStreamConfig);
    }
    /**
     * @return A block that specifies the configuration of the Kinesis video stream. Documented below.
     * 
     */
    public Optional kinesisVideoStreamConfig() {
        return Optional.ofNullable(this.kinesisVideoStreamConfig);
    }
    /**
     * @return A block that specifies the configuration of S3 Bucket. Documented below.
     * 
     */
    public Optional s3Config() {
        return Optional.ofNullable(this.s3Config);
    }
    /**
     * @return A valid storage type. Valid Values: `S3` | `KINESIS_VIDEO_STREAM` | `KINESIS_STREAM` | `KINESIS_FIREHOSE`.
     * 
     */
    public String storageType() {
        return this.storageType;
    }

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

    public static Builder builder(InstanceStorageConfigStorageConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable InstanceStorageConfigStorageConfigKinesisFirehoseConfig kinesisFirehoseConfig;
        private @Nullable InstanceStorageConfigStorageConfigKinesisStreamConfig kinesisStreamConfig;
        private @Nullable InstanceStorageConfigStorageConfigKinesisVideoStreamConfig kinesisVideoStreamConfig;
        private @Nullable InstanceStorageConfigStorageConfigS3Config s3Config;
        private String storageType;
        public Builder() {}
        public Builder(InstanceStorageConfigStorageConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.kinesisFirehoseConfig = defaults.kinesisFirehoseConfig;
    	      this.kinesisStreamConfig = defaults.kinesisStreamConfig;
    	      this.kinesisVideoStreamConfig = defaults.kinesisVideoStreamConfig;
    	      this.s3Config = defaults.s3Config;
    	      this.storageType = defaults.storageType;
        }

        @CustomType.Setter
        public Builder kinesisFirehoseConfig(@Nullable InstanceStorageConfigStorageConfigKinesisFirehoseConfig kinesisFirehoseConfig) {

            this.kinesisFirehoseConfig = kinesisFirehoseConfig;
            return this;
        }
        @CustomType.Setter
        public Builder kinesisStreamConfig(@Nullable InstanceStorageConfigStorageConfigKinesisStreamConfig kinesisStreamConfig) {

            this.kinesisStreamConfig = kinesisStreamConfig;
            return this;
        }
        @CustomType.Setter
        public Builder kinesisVideoStreamConfig(@Nullable InstanceStorageConfigStorageConfigKinesisVideoStreamConfig kinesisVideoStreamConfig) {

            this.kinesisVideoStreamConfig = kinesisVideoStreamConfig;
            return this;
        }
        @CustomType.Setter
        public Builder s3Config(@Nullable InstanceStorageConfigStorageConfigS3Config s3Config) {

            this.s3Config = s3Config;
            return this;
        }
        @CustomType.Setter
        public Builder storageType(String storageType) {
            if (storageType == null) {
              throw new MissingRequiredPropertyException("InstanceStorageConfigStorageConfig", "storageType");
            }
            this.storageType = storageType;
            return this;
        }
        public InstanceStorageConfigStorageConfig build() {
            final var _resultValue = new InstanceStorageConfigStorageConfig();
            _resultValue.kinesisFirehoseConfig = kinesisFirehoseConfig;
            _resultValue.kinesisStreamConfig = kinesisStreamConfig;
            _resultValue.kinesisVideoStreamConfig = kinesisVideoStreamConfig;
            _resultValue.s3Config = s3Config;
            _resultValue.storageType = storageType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy