// *** 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.azure.apimanagement.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ApiSubscriptionKeyParameterNames {
    /**
     * @return The name of the HTTP Header which should be used for the Subscription Key.
     * 
     */
    private String header;
    /**
     * @return The name of the QueryString parameter which should be used for the Subscription Key.
     * 
     */
    private String query;

    private ApiSubscriptionKeyParameterNames() {}
    /**
     * @return The name of the HTTP Header which should be used for the Subscription Key.
     * 
     */
    public String header() {
        return this.header;
    }
    /**
     * @return The name of the QueryString parameter which should be used for the Subscription Key.
     * 
     */
    public String query() {
        return this.query;
    }

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

    public static Builder builder(ApiSubscriptionKeyParameterNames defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String header;
        private String query;
        public Builder() {}
        public Builder(ApiSubscriptionKeyParameterNames defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.header = defaults.header;
    	      this.query = defaults.query;
        }

        @CustomType.Setter
        public Builder header(String header) {
            this.header = Objects.requireNonNull(header);
            return this;
        }
        @CustomType.Setter
        public Builder query(String query) {
            this.query = Objects.requireNonNull(query);
            return this;
        }
        public ApiSubscriptionKeyParameterNames build() {
            final var o = new ApiSubscriptionKeyParameterNames();
            o.header = header;
            o.query = query;
            return o;
        }
    }
}
