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

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

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetTargetGroupPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTargetGroupPlainArgs Empty = new GetTargetGroupPlainArgs();

    /**
     * Full ARN of the target group.
     * 
     */
    @Import(name="arn")
    private @Nullable String arn;

    /**
     * @return Full ARN of the target group.
     * 
     */
    public Optional arn() {
        return Optional.ofNullable(this.arn);
    }

    @Import(name="loadBalancingAnomalyMitigation")
    private @Nullable String loadBalancingAnomalyMitigation;

    public Optional loadBalancingAnomalyMitigation() {
        return Optional.ofNullable(this.loadBalancingAnomalyMitigation);
    }

    /**
     * Unique name of the target group.
     * 
     */
    @Import(name="name")
    private @Nullable String name;

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

    /**
     * Mapping of tags, each pair of which must exactly match a pair on the desired target group.
     * 
     * > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has the lowest precedence.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Mapping of tags, each pair of which must exactly match a pair on the desired target group.
     * 
     * > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has the lowest precedence.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetTargetGroupPlainArgs() {}

    private GetTargetGroupPlainArgs(GetTargetGroupPlainArgs $) {
        this.arn = $.arn;
        this.loadBalancingAnomalyMitigation = $.loadBalancingAnomalyMitigation;
        this.name = $.name;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetTargetGroupPlainArgs $;

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

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

        /**
         * @param arn Full ARN of the target group.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable String arn) {
            $.arn = arn;
            return this;
        }

        public Builder loadBalancingAnomalyMitigation(@Nullable String loadBalancingAnomalyMitigation) {
            $.loadBalancingAnomalyMitigation = loadBalancingAnomalyMitigation;
            return this;
        }

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

        /**
         * @param tags Mapping of tags, each pair of which must exactly match a pair on the desired target group.
         * 
         * > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has the lowest precedence.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        public GetTargetGroupPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy