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

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

There is a newer version: 2.82.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 Matcher
 * 
 */
public final class MatcherArgs extends com.pulumi.resources.ResourceArgs {

    public static final MatcherArgs Empty = new MatcherArgs();

    /**
     * You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.
     * 
     */
    @Import(name="grpcCode")
    private @Nullable Output grpcCode;

    /**
     * @return You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.
     * 
     */
    public Optional> grpcCode() {
        return Optional.ofNullable(this.grpcCode);
    }

    /**
     * For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.
     * 
     */
    @Import(name="httpCode")
    private @Nullable Output httpCode;

    /**
     * @return For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.
     * 
     */
    public Optional> httpCode() {
        return Optional.ofNullable(this.httpCode);
    }

    private MatcherArgs() {}

    private MatcherArgs(MatcherArgs $) {
        this.grpcCode = $.grpcCode;
        this.httpCode = $.httpCode;
    }

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

    public static final class Builder {
        private MatcherArgs $;

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

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

        /**
         * @param grpcCode You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.
         * 
         * @return builder
         * 
         */
        public Builder grpcCode(@Nullable Output grpcCode) {
            $.grpcCode = grpcCode;
            return this;
        }

        /**
         * @param grpcCode You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.
         * 
         * @return builder
         * 
         */
        public Builder grpcCode(String grpcCode) {
            return grpcCode(Output.of(grpcCode));
        }

        /**
         * @param httpCode For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.
         * 
         * @return builder
         * 
         */
        public Builder httpCode(@Nullable Output httpCode) {
            $.httpCode = httpCode;
            return this;
        }

        /**
         * @param httpCode For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.
         * 
         * @return builder
         * 
         */
        public Builder httpCode(String httpCode) {
            return httpCode(Output.of(httpCode));
        }

        public MatcherArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy