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

com.pulumi.azurenative.machinelearning.outputs.ListWorkspaceKeysResult Maven / Gradle / Ivy

// *** 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.machinelearning.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 ListWorkspaceKeysResult {
    /**
     * @return Primary authorization key for this workspace.
     * 
     */
    private @Nullable String primaryToken;
    /**
     * @return Secondary authorization key for this workspace.
     * 
     */
    private @Nullable String secondaryToken;

    private ListWorkspaceKeysResult() {}
    /**
     * @return Primary authorization key for this workspace.
     * 
     */
    public Optional primaryToken() {
        return Optional.ofNullable(this.primaryToken);
    }
    /**
     * @return Secondary authorization key for this workspace.
     * 
     */
    public Optional secondaryToken() {
        return Optional.ofNullable(this.secondaryToken);
    }

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

    public static Builder builder(ListWorkspaceKeysResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String primaryToken;
        private @Nullable String secondaryToken;
        public Builder() {}
        public Builder(ListWorkspaceKeysResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.primaryToken = defaults.primaryToken;
    	      this.secondaryToken = defaults.secondaryToken;
        }

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

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

            this.secondaryToken = secondaryToken;
            return this;
        }
        public ListWorkspaceKeysResult build() {
            final var _resultValue = new ListWorkspaceKeysResult();
            _resultValue.primaryToken = primaryToken;
            _resultValue.secondaryToken = secondaryToken;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy