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

import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocation;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContent {
    /**
     * @return Information about the Amazon S3 bucket containing the application code.
     * 
     */
    private @Nullable ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocation s3ContentLocation;
    /**
     * @return The text-format code for the application.
     * 
     * The `s3_content_location` object supports the following:
     * 
     */
    private @Nullable String textContent;

    private ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContent() {}
    /**
     * @return Information about the Amazon S3 bucket containing the application code.
     * 
     */
    public Optional<ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocation> s3ContentLocation() {
        return Optional.ofNullable(this.s3ContentLocation);
    }
    /**
     * @return The text-format code for the application.
     * 
     * The `s3_content_location` object supports the following:
     * 
     */
    public Optional<String> textContent() {
        return Optional.ofNullable(this.textContent);
    }

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

    public static Builder builder(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContent defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocation s3ContentLocation;
        private @Nullable String textContent;
        public Builder() {}
        public Builder(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContent defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.s3ContentLocation = defaults.s3ContentLocation;
    	      this.textContent = defaults.textContent;
        }

        @CustomType.Setter
        public Builder s3ContentLocation(@Nullable ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocation s3ContentLocation) {
            this.s3ContentLocation = s3ContentLocation;
            return this;
        }
        @CustomType.Setter
        public Builder textContent(@Nullable String textContent) {
            this.textContent = textContent;
            return this;
        }
        public ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContent build() {
            final var o = new ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContent();
            o.s3ContentLocation = s3ContentLocation;
            o.textContent = textContent;
            return o;
        }
    }
}
