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

com.pulumi.aws.lb.inputs.GetHostedZoneIdArgs 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.72.0
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.lb.inputs;

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 GetHostedZoneIdArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetHostedZoneIdArgs Empty = new GetHostedZoneIdArgs();

    /**
     * Type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
     * 
     */
    @Import(name="loadBalancerType")
    private @Nullable Output loadBalancerType;

    /**
     * @return Type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
     * 
     */
    public Optional> loadBalancerType() {
        return Optional.ofNullable(this.loadBalancerType);
    }

    /**
     * Name of the region whose AWS ELB HostedZoneId is desired.
     * Defaults to the region from the AWS provider configuration.
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return Name of the region whose AWS ELB HostedZoneId is desired.
     * Defaults to the region from the AWS provider configuration.
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    private GetHostedZoneIdArgs() {}

    private GetHostedZoneIdArgs(GetHostedZoneIdArgs $) {
        this.loadBalancerType = $.loadBalancerType;
        this.region = $.region;
    }

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

    public static final class Builder {
        private GetHostedZoneIdArgs $;

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

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

        /**
         * @param loadBalancerType Type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerType(@Nullable Output loadBalancerType) {
            $.loadBalancerType = loadBalancerType;
            return this;
        }

        /**
         * @param loadBalancerType Type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerType(String loadBalancerType) {
            return loadBalancerType(Output.of(loadBalancerType));
        }

        /**
         * @param region Name of the region whose AWS ELB HostedZoneId is desired.
         * Defaults to the region from the AWS provider configuration.
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Name of the region whose AWS ELB HostedZoneId is desired.
         * Defaults to the region from the AWS provider configuration.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        public GetHostedZoneIdArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy