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

com.pulumi.aws.securitylake.inputs.CustomLogSourceAttributeArgs 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.securitylake.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;


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

    public static final CustomLogSourceAttributeArgs Empty = new CustomLogSourceAttributeArgs();

    /**
     * The ARN of the AWS Glue crawler.
     * 
     */
    @Import(name="crawlerArn", required=true)
    private Output crawlerArn;

    /**
     * @return The ARN of the AWS Glue crawler.
     * 
     */
    public Output crawlerArn() {
        return this.crawlerArn;
    }

    /**
     * The ARN of the AWS Glue database where results are written.
     * 
     */
    @Import(name="databaseArn", required=true)
    private Output databaseArn;

    /**
     * @return The ARN of the AWS Glue database where results are written.
     * 
     */
    public Output databaseArn() {
        return this.databaseArn;
    }

    /**
     * The ARN of the AWS Glue table.
     * 
     */
    @Import(name="tableArn", required=true)
    private Output tableArn;

    /**
     * @return The ARN of the AWS Glue table.
     * 
     */
    public Output tableArn() {
        return this.tableArn;
    }

    private CustomLogSourceAttributeArgs() {}

    private CustomLogSourceAttributeArgs(CustomLogSourceAttributeArgs $) {
        this.crawlerArn = $.crawlerArn;
        this.databaseArn = $.databaseArn;
        this.tableArn = $.tableArn;
    }

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

    public static final class Builder {
        private CustomLogSourceAttributeArgs $;

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

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

        /**
         * @param crawlerArn The ARN of the AWS Glue crawler.
         * 
         * @return builder
         * 
         */
        public Builder crawlerArn(Output crawlerArn) {
            $.crawlerArn = crawlerArn;
            return this;
        }

        /**
         * @param crawlerArn The ARN of the AWS Glue crawler.
         * 
         * @return builder
         * 
         */
        public Builder crawlerArn(String crawlerArn) {
            return crawlerArn(Output.of(crawlerArn));
        }

        /**
         * @param databaseArn The ARN of the AWS Glue database where results are written.
         * 
         * @return builder
         * 
         */
        public Builder databaseArn(Output databaseArn) {
            $.databaseArn = databaseArn;
            return this;
        }

        /**
         * @param databaseArn The ARN of the AWS Glue database where results are written.
         * 
         * @return builder
         * 
         */
        public Builder databaseArn(String databaseArn) {
            return databaseArn(Output.of(databaseArn));
        }

        /**
         * @param tableArn The ARN of the AWS Glue table.
         * 
         * @return builder
         * 
         */
        public Builder tableArn(Output tableArn) {
            $.tableArn = tableArn;
            return this;
        }

        /**
         * @param tableArn The ARN of the AWS Glue table.
         * 
         * @return builder
         * 
         */
        public Builder tableArn(String tableArn) {
            return tableArn(Output.of(tableArn));
        }

        public CustomLogSourceAttributeArgs build() {
            if ($.crawlerArn == null) {
                throw new MissingRequiredPropertyException("CustomLogSourceAttributeArgs", "crawlerArn");
            }
            if ($.databaseArn == null) {
                throw new MissingRequiredPropertyException("CustomLogSourceAttributeArgs", "databaseArn");
            }
            if ($.tableArn == null) {
                throw new MissingRequiredPropertyException("CustomLogSourceAttributeArgs", "tableArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy