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

com.pulumi.azurenative.awsconnector.inputs.TargetGroupAttributeArgs Maven / Gradle / Ivy

There is a newer version: 2.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.azurenative.awsconnector.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;


/**
 * Definition of TargetGroupAttribute
 * 
 */
public final class TargetGroupAttributeArgs extends com.pulumi.resources.ResourceArgs {

    public static final TargetGroupAttributeArgs Empty = new TargetGroupAttributeArgs();

    /**
     * The value of the attribute.
     * 
     */
    @Import(name="key")
    private @Nullable Output key;

    /**
     * @return The value of the attribute.
     * 
     */
    public Optional> key() {
        return Optional.ofNullable(this.key);
    }

    /**
     * The name of the attribute.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The name of the attribute.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private TargetGroupAttributeArgs() {}

    private TargetGroupAttributeArgs(TargetGroupAttributeArgs $) {
        this.key = $.key;
        this.value = $.value;
    }

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

    public static final class Builder {
        private TargetGroupAttributeArgs $;

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

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

        /**
         * @param key The value of the attribute.
         * 
         * @return builder
         * 
         */
        public Builder key(@Nullable Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key The value of the attribute.
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

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

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

        public TargetGroupAttributeArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy