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

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

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ListQnAMakerEndpointKeyResult {
    /**
     * @return Current version of runtime.
     * 
     */
    private @Nullable String installedVersion;
    /**
     * @return Latest version of runtime.
     * 
     */
    private @Nullable String lastStableVersion;
    /**
     * @return Primary Access Key.
     * 
     */
    private @Nullable String primaryEndpointKey;
    /**
     * @return Secondary Access Key.
     * 
     */
    private @Nullable String secondaryEndpointKey;

    private ListQnAMakerEndpointKeyResult() {}
    /**
     * @return Current version of runtime.
     * 
     */
    public Optional installedVersion() {
        return Optional.ofNullable(this.installedVersion);
    }
    /**
     * @return Latest version of runtime.
     * 
     */
    public Optional lastStableVersion() {
        return Optional.ofNullable(this.lastStableVersion);
    }
    /**
     * @return Primary Access Key.
     * 
     */
    public Optional primaryEndpointKey() {
        return Optional.ofNullable(this.primaryEndpointKey);
    }
    /**
     * @return Secondary Access Key.
     * 
     */
    public Optional secondaryEndpointKey() {
        return Optional.ofNullable(this.secondaryEndpointKey);
    }

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

    public static Builder builder(ListQnAMakerEndpointKeyResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String installedVersion;
        private @Nullable String lastStableVersion;
        private @Nullable String primaryEndpointKey;
        private @Nullable String secondaryEndpointKey;
        public Builder() {}
        public Builder(ListQnAMakerEndpointKeyResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.installedVersion = defaults.installedVersion;
    	      this.lastStableVersion = defaults.lastStableVersion;
    	      this.primaryEndpointKey = defaults.primaryEndpointKey;
    	      this.secondaryEndpointKey = defaults.secondaryEndpointKey;
        }

        @CustomType.Setter
        public Builder installedVersion(@Nullable String installedVersion) {

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

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

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

            this.secondaryEndpointKey = secondaryEndpointKey;
            return this;
        }
        public ListQnAMakerEndpointKeyResult build() {
            final var _resultValue = new ListQnAMakerEndpointKeyResult();
            _resultValue.installedVersion = installedVersion;
            _resultValue.lastStableVersion = lastStableVersion;
            _resultValue.primaryEndpointKey = primaryEndpointKey;
            _resultValue.secondaryEndpointKey = secondaryEndpointKey;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy