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

com.pulumi.azurenative.app.inputs.DotNetComponentServiceBindArgs 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.app.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;


/**
 * Configuration to bind a .NET Component to another .NET Component
 * 
 */
public final class DotNetComponentServiceBindArgs extends com.pulumi.resources.ResourceArgs {

    public static final DotNetComponentServiceBindArgs Empty = new DotNetComponentServiceBindArgs();

    /**
     * Name of the service bind
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the service bind
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Resource id of the target service
     * 
     */
    @Import(name="serviceId")
    private @Nullable Output serviceId;

    /**
     * @return Resource id of the target service
     * 
     */
    public Optional> serviceId() {
        return Optional.ofNullable(this.serviceId);
    }

    private DotNetComponentServiceBindArgs() {}

    private DotNetComponentServiceBindArgs(DotNetComponentServiceBindArgs $) {
        this.name = $.name;
        this.serviceId = $.serviceId;
    }

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

    public static final class Builder {
        private DotNetComponentServiceBindArgs $;

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

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

        /**
         * @param name Name of the service bind
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the service bind
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param serviceId Resource id of the target service
         * 
         * @return builder
         * 
         */
        public Builder serviceId(@Nullable Output serviceId) {
            $.serviceId = serviceId;
            return this;
        }

        /**
         * @param serviceId Resource id of the target service
         * 
         * @return builder
         * 
         */
        public Builder serviceId(String serviceId) {
            return serviceId(Output.of(serviceId));
        }

        public DotNetComponentServiceBindArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy