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

com.pulumi.aws.appsync.inputs.DataSourceRelationalDatabaseConfigArgs 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.appsync.inputs;

import com.pulumi.aws.appsync.inputs.DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs;
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 DataSourceRelationalDatabaseConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataSourceRelationalDatabaseConfigArgs Empty = new DataSourceRelationalDatabaseConfigArgs();

    /**
     * Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
     * 
     */
    @Import(name="httpEndpointConfig")
    private @Nullable Output httpEndpointConfig;

    /**
     * @return Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
     * 
     */
    public Optional> httpEndpointConfig() {
        return Optional.ofNullable(this.httpEndpointConfig);
    }

    /**
     * Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
     * 
     */
    @Import(name="sourceType")
    private @Nullable Output sourceType;

    /**
     * @return Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
     * 
     */
    public Optional> sourceType() {
        return Optional.ofNullable(this.sourceType);
    }

    private DataSourceRelationalDatabaseConfigArgs() {}

    private DataSourceRelationalDatabaseConfigArgs(DataSourceRelationalDatabaseConfigArgs $) {
        this.httpEndpointConfig = $.httpEndpointConfig;
        this.sourceType = $.sourceType;
    }

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

    public static final class Builder {
        private DataSourceRelationalDatabaseConfigArgs $;

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

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

        /**
         * @param httpEndpointConfig Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder httpEndpointConfig(@Nullable Output httpEndpointConfig) {
            $.httpEndpointConfig = httpEndpointConfig;
            return this;
        }

        /**
         * @param httpEndpointConfig Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder httpEndpointConfig(DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs httpEndpointConfig) {
            return httpEndpointConfig(Output.of(httpEndpointConfig));
        }

        /**
         * @param sourceType Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
         * 
         * @return builder
         * 
         */
        public Builder sourceType(@Nullable Output sourceType) {
            $.sourceType = sourceType;
            return this;
        }

        /**
         * @param sourceType Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
         * 
         * @return builder
         * 
         */
        public Builder sourceType(String sourceType) {
            return sourceType(Output.of(sourceType));
        }

        public DataSourceRelationalDatabaseConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy