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

com.pulumi.azurenative.botservice.inputs.M365ExtensionsArgs Maven / Gradle / Ivy

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


/**
 * M365 Extensions definition
 * 
 */
public final class M365ExtensionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final M365ExtensionsArgs Empty = new M365ExtensionsArgs();

    /**
     * The channel name
     * Expected value is 'M365Extensions'.
     * 
     */
    @Import(name="channelName", required=true)
    private Output channelName;

    /**
     * @return The channel name
     * Expected value is 'M365Extensions'.
     * 
     */
    public Output channelName() {
        return this.channelName;
    }

    /**
     * Entity Tag of the resource
     * 
     */
    @Import(name="etag")
    private @Nullable Output etag;

    /**
     * @return Entity Tag of the resource
     * 
     */
    public Optional> etag() {
        return Optional.ofNullable(this.etag);
    }

    /**
     * Specifies the location of the resource.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the location of the resource.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    private M365ExtensionsArgs() {}

    private M365ExtensionsArgs(M365ExtensionsArgs $) {
        this.channelName = $.channelName;
        this.etag = $.etag;
        this.location = $.location;
    }

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

    public static final class Builder {
        private M365ExtensionsArgs $;

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

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

        /**
         * @param channelName The channel name
         * Expected value is 'M365Extensions'.
         * 
         * @return builder
         * 
         */
        public Builder channelName(Output channelName) {
            $.channelName = channelName;
            return this;
        }

        /**
         * @param channelName The channel name
         * Expected value is 'M365Extensions'.
         * 
         * @return builder
         * 
         */
        public Builder channelName(String channelName) {
            return channelName(Output.of(channelName));
        }

        /**
         * @param etag Entity Tag of the resource
         * 
         * @return builder
         * 
         */
        public Builder etag(@Nullable Output etag) {
            $.etag = etag;
            return this;
        }

        /**
         * @param etag Entity Tag of the resource
         * 
         * @return builder
         * 
         */
        public Builder etag(String etag) {
            return etag(Output.of(etag));
        }

        /**
         * @param location Specifies the location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        public M365ExtensionsArgs build() {
            $.channelName = Codegen.stringProp("channelName").output().arg($.channelName).require();
            $.location = Codegen.stringProp("location").output().arg($.location).def("global").getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy