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

com.pulumi.azurenative.machinelearningservices.outputs.ListBatchEndpointKeysResult Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.machinelearningservices.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 ListBatchEndpointKeysResult {
    /**
     * @return The primary key.
     * 
     */
    private @Nullable String primaryKey;
    /**
     * @return The secondary key.
     * 
     */
    private @Nullable String secondaryKey;

    private ListBatchEndpointKeysResult() {}
    /**
     * @return The primary key.
     * 
     */
    public Optional primaryKey() {
        return Optional.ofNullable(this.primaryKey);
    }
    /**
     * @return The secondary key.
     * 
     */
    public Optional secondaryKey() {
        return Optional.ofNullable(this.secondaryKey);
    }

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

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

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

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

            this.secondaryKey = secondaryKey;
            return this;
        }
        public ListBatchEndpointKeysResult build() {
            final var _resultValue = new ListBatchEndpointKeysResult();
            _resultValue.primaryKey = primaryKey;
            _resultValue.secondaryKey = secondaryKey;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy