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

com.pulumi.azurenative.botservice.outputs.MsTeamsChannelResponse 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.outputs;

import com.pulumi.azurenative.botservice.outputs.MsTeamsChannelPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MsTeamsChannelResponse {
    /**
     * @return The channel name
     * Expected value is 'MsTeamsChannel'.
     * 
     */
    private String channelName;
    /**
     * @return Entity Tag of the resource
     * 
     */
    private @Nullable String etag;
    /**
     * @return Specifies the location of the resource.
     * 
     */
    private @Nullable String location;
    /**
     * @return The set of properties specific to Microsoft Teams channel resource
     * 
     */
    private @Nullable MsTeamsChannelPropertiesResponse properties;
    /**
     * @return Provisioning state of the resource
     * 
     */
    private String provisioningState;

    private MsTeamsChannelResponse() {}
    /**
     * @return The channel name
     * Expected value is 'MsTeamsChannel'.
     * 
     */
    public String channelName() {
        return this.channelName;
    }
    /**
     * @return Entity Tag of the resource
     * 
     */
    public Optional etag() {
        return Optional.ofNullable(this.etag);
    }
    /**
     * @return Specifies the location of the resource.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The set of properties specific to Microsoft Teams channel resource
     * 
     */
    public Optional properties() {
        return Optional.ofNullable(this.properties);
    }
    /**
     * @return Provisioning state of the resource
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }

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

    public static Builder builder(MsTeamsChannelResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String channelName;
        private @Nullable String etag;
        private @Nullable String location;
        private @Nullable MsTeamsChannelPropertiesResponse properties;
        private String provisioningState;
        public Builder() {}
        public Builder(MsTeamsChannelResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.channelName = defaults.channelName;
    	      this.etag = defaults.etag;
    	      this.location = defaults.location;
    	      this.properties = defaults.properties;
    	      this.provisioningState = defaults.provisioningState;
        }

        @CustomType.Setter
        public Builder channelName(String channelName) {
            if (channelName == null) {
              throw new MissingRequiredPropertyException("MsTeamsChannelResponse", "channelName");
            }
            this.channelName = channelName;
            return this;
        }
        @CustomType.Setter
        public Builder etag(@Nullable String etag) {

            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder properties(@Nullable MsTeamsChannelPropertiesResponse properties) {

            this.properties = properties;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("MsTeamsChannelResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        public MsTeamsChannelResponse build() {
            final var _resultValue = new MsTeamsChannelResponse();
            _resultValue.channelName = channelName;
            _resultValue.etag = etag;
            _resultValue.location = location;
            _resultValue.properties = properties;
            _resultValue.provisioningState = provisioningState;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy