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

com.pulumi.azurenative.web.inputs.ApiConnectionTestLinkArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.web.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;


/**
 * API connection properties
 * 
 */
public final class ApiConnectionTestLinkArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApiConnectionTestLinkArgs Empty = new ApiConnectionTestLinkArgs();

    /**
     * HTTP Method
     * 
     */
    @Import(name="method")
    private @Nullable Output method;

    /**
     * @return HTTP Method
     * 
     */
    public Optional> method() {
        return Optional.ofNullable(this.method);
    }

    /**
     * Test link request URI
     * 
     */
    @Import(name="requestUri")
    private @Nullable Output requestUri;

    /**
     * @return Test link request URI
     * 
     */
    public Optional> requestUri() {
        return Optional.ofNullable(this.requestUri);
    }

    private ApiConnectionTestLinkArgs() {}

    private ApiConnectionTestLinkArgs(ApiConnectionTestLinkArgs $) {
        this.method = $.method;
        this.requestUri = $.requestUri;
    }

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

    public static final class Builder {
        private ApiConnectionTestLinkArgs $;

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

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

        /**
         * @param method HTTP Method
         * 
         * @return builder
         * 
         */
        public Builder method(@Nullable Output method) {
            $.method = method;
            return this;
        }

        /**
         * @param method HTTP Method
         * 
         * @return builder
         * 
         */
        public Builder method(String method) {
            return method(Output.of(method));
        }

        /**
         * @param requestUri Test link request URI
         * 
         * @return builder
         * 
         */
        public Builder requestUri(@Nullable Output requestUri) {
            $.requestUri = requestUri;
            return this;
        }

        /**
         * @param requestUri Test link request URI
         * 
         * @return builder
         * 
         */
        public Builder requestUri(String requestUri) {
            return requestUri(Output.of(requestUri));
        }

        public ApiConnectionTestLinkArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy