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

com.pulumi.aws.rekognition.inputs.StreamProcessorOutputS3DestinationArgs 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.rekognition.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final StreamProcessorOutputS3DestinationArgs Empty = new StreamProcessorOutputS3DestinationArgs();

    /**
     * Name of the Amazon S3 bucket you want to associate with the streaming video project.
     * 
     */
    @Import(name="bucket")
    private @Nullable Output bucket;

    /**
     * @return Name of the Amazon S3 bucket you want to associate with the streaming video project.
     * 
     */
    public Optional> bucket() {
        return Optional.ofNullable(this.bucket);
    }

    /**
     * The prefix value of the location within the bucket that you want the information to be published to.
     * 
     */
    @Import(name="keyPrefix")
    private @Nullable Output keyPrefix;

    /**
     * @return The prefix value of the location within the bucket that you want the information to be published to.
     * 
     */
    public Optional> keyPrefix() {
        return Optional.ofNullable(this.keyPrefix);
    }

    private StreamProcessorOutputS3DestinationArgs() {}

    private StreamProcessorOutputS3DestinationArgs(StreamProcessorOutputS3DestinationArgs $) {
        this.bucket = $.bucket;
        this.keyPrefix = $.keyPrefix;
    }

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

    public static final class Builder {
        private StreamProcessorOutputS3DestinationArgs $;

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

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

        /**
         * @param bucket Name of the Amazon S3 bucket you want to associate with the streaming video project.
         * 
         * @return builder
         * 
         */
        public Builder bucket(@Nullable Output bucket) {
            $.bucket = bucket;
            return this;
        }

        /**
         * @param bucket Name of the Amazon S3 bucket you want to associate with the streaming video project.
         * 
         * @return builder
         * 
         */
        public Builder bucket(String bucket) {
            return bucket(Output.of(bucket));
        }

        /**
         * @param keyPrefix The prefix value of the location within the bucket that you want the information to be published to.
         * 
         * @return builder
         * 
         */
        public Builder keyPrefix(@Nullable Output keyPrefix) {
            $.keyPrefix = keyPrefix;
            return this;
        }

        /**
         * @param keyPrefix The prefix value of the location within the bucket that you want the information to be published to.
         * 
         * @return builder
         * 
         */
        public Builder keyPrefix(String keyPrefix) {
            return keyPrefix(Output.of(keyPrefix));
        }

        public StreamProcessorOutputS3DestinationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy