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

com.pulumi.azurenative.servicelinker.inputs.ConfluentSchemaRegistryArgs 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.servicelinker.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The service properties when target service type is ConfluentSchemaRegistry
 * 
 */
public final class ConfluentSchemaRegistryArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConfluentSchemaRegistryArgs Empty = new ConfluentSchemaRegistryArgs();

    /**
     * The endpoint of service.
     * 
     */
    @Import(name="endpoint")
    private @Nullable Output endpoint;

    /**
     * @return The endpoint of service.
     * 
     */
    public Optional> endpoint() {
        return Optional.ofNullable(this.endpoint);
    }

    /**
     * The target service type.
     * Expected value is 'ConfluentSchemaRegistry'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The target service type.
     * Expected value is 'ConfluentSchemaRegistry'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private ConfluentSchemaRegistryArgs() {}

    private ConfluentSchemaRegistryArgs(ConfluentSchemaRegistryArgs $) {
        this.endpoint = $.endpoint;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ConfluentSchemaRegistryArgs $;

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

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

        /**
         * @param endpoint The endpoint of service.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(@Nullable Output endpoint) {
            $.endpoint = endpoint;
            return this;
        }

        /**
         * @param endpoint The endpoint of service.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(String endpoint) {
            return endpoint(Output.of(endpoint));
        }

        /**
         * @param type The target service type.
         * Expected value is 'ConfluentSchemaRegistry'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The target service type.
         * Expected value is 'ConfluentSchemaRegistry'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ConfluentSchemaRegistryArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy