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

com.pulumi.aws.rds.inputs.ProxyDefaultTargetGroupState 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.rds.inputs;

import com.pulumi.aws.rds.inputs.ProxyDefaultTargetGroupConnectionPoolConfigArgs;
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 ProxyDefaultTargetGroupState extends com.pulumi.resources.ResourceArgs {

    public static final ProxyDefaultTargetGroupState Empty = new ProxyDefaultTargetGroupState();

    /**
     * The Amazon Resource Name (ARN) representing the target group.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) representing the target group.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The settings that determine the size and behavior of the connection pool for the target group.
     * 
     */
    @Import(name="connectionPoolConfig")
    private @Nullable Output connectionPoolConfig;

    /**
     * @return The settings that determine the size and behavior of the connection pool for the target group.
     * 
     */
    public Optional> connectionPoolConfig() {
        return Optional.ofNullable(this.connectionPoolConfig);
    }

    /**
     * Name of the RDS DB Proxy.
     * 
     */
    @Import(name="dbProxyName")
    private @Nullable Output dbProxyName;

    /**
     * @return Name of the RDS DB Proxy.
     * 
     */
    public Optional> dbProxyName() {
        return Optional.ofNullable(this.dbProxyName);
    }

    /**
     * The name of the default target group.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the default target group.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ProxyDefaultTargetGroupState() {}

    private ProxyDefaultTargetGroupState(ProxyDefaultTargetGroupState $) {
        this.arn = $.arn;
        this.connectionPoolConfig = $.connectionPoolConfig;
        this.dbProxyName = $.dbProxyName;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ProxyDefaultTargetGroupState $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) representing the target group.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) representing the target group.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param connectionPoolConfig The settings that determine the size and behavior of the connection pool for the target group.
         * 
         * @return builder
         * 
         */
        public Builder connectionPoolConfig(@Nullable Output connectionPoolConfig) {
            $.connectionPoolConfig = connectionPoolConfig;
            return this;
        }

        /**
         * @param connectionPoolConfig The settings that determine the size and behavior of the connection pool for the target group.
         * 
         * @return builder
         * 
         */
        public Builder connectionPoolConfig(ProxyDefaultTargetGroupConnectionPoolConfigArgs connectionPoolConfig) {
            return connectionPoolConfig(Output.of(connectionPoolConfig));
        }

        /**
         * @param dbProxyName Name of the RDS DB Proxy.
         * 
         * @return builder
         * 
         */
        public Builder dbProxyName(@Nullable Output dbProxyName) {
            $.dbProxyName = dbProxyName;
            return this;
        }

        /**
         * @param dbProxyName Name of the RDS DB Proxy.
         * 
         * @return builder
         * 
         */
        public Builder dbProxyName(String dbProxyName) {
            return dbProxyName(Output.of(dbProxyName));
        }

        /**
         * @param name The name of the default target group.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the default target group.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ProxyDefaultTargetGroupState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy