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

com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs Maven / Gradle / Ivy

// *** 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.kinesisanalyticsv2.inputs;

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


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

    public static final ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs Empty = new ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs();

    /**
     * The ARN for the S3 bucket containing the application code.
     * 
     */
    @Import(name="bucketArn", required=true)
    private Output bucketArn;

    /**
     * @return The ARN for the S3 bucket containing the application code.
     * 
     */
    public Output bucketArn() {
        return this.bucketArn;
    }

    /**
     * The file key for the object containing the application code.
     * 
     */
    @Import(name="fileKey", required=true)
    private Output fileKey;

    /**
     * @return The file key for the object containing the application code.
     * 
     */
    public Output fileKey() {
        return this.fileKey;
    }

    /**
     * The version of the object containing the application code.
     * 
     */
    @Import(name="objectVersion")
    private @Nullable Output objectVersion;

    /**
     * @return The version of the object containing the application code.
     * 
     */
    public Optional> objectVersion() {
        return Optional.ofNullable(this.objectVersion);
    }

    private ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs() {}

    private ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs $) {
        this.bucketArn = $.bucketArn;
        this.fileKey = $.fileKey;
        this.objectVersion = $.objectVersion;
    }

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

    public static final class Builder {
        private ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs $;

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

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

        /**
         * @param bucketArn The ARN for the S3 bucket containing the application code.
         * 
         * @return builder
         * 
         */
        public Builder bucketArn(Output bucketArn) {
            $.bucketArn = bucketArn;
            return this;
        }

        /**
         * @param bucketArn The ARN for the S3 bucket containing the application code.
         * 
         * @return builder
         * 
         */
        public Builder bucketArn(String bucketArn) {
            return bucketArn(Output.of(bucketArn));
        }

        /**
         * @param fileKey The file key for the object containing the application code.
         * 
         * @return builder
         * 
         */
        public Builder fileKey(Output fileKey) {
            $.fileKey = fileKey;
            return this;
        }

        /**
         * @param fileKey The file key for the object containing the application code.
         * 
         * @return builder
         * 
         */
        public Builder fileKey(String fileKey) {
            return fileKey(Output.of(fileKey));
        }

        /**
         * @param objectVersion The version of the object containing the application code.
         * 
         * @return builder
         * 
         */
        public Builder objectVersion(@Nullable Output objectVersion) {
            $.objectVersion = objectVersion;
            return this;
        }

        /**
         * @param objectVersion The version of the object containing the application code.
         * 
         * @return builder
         * 
         */
        public Builder objectVersion(String objectVersion) {
            return objectVersion(Output.of(objectVersion));
        }

        public ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs build() {
            if ($.bucketArn == null) {
                throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs", "bucketArn");
            }
            if ($.fileKey == null) {
                throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs", "fileKey");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy