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

com.pulumi.azurenative.machinelearning.outputs.ModeValueInfoResponse 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.machinelearning.outputs;

import com.pulumi.azurenative.machinelearning.outputs.ModuleAssetParameterResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ModeValueInfoResponse {
    /**
     * @return The interface string name for the nested parameter.
     * 
     */
    private @Nullable String interfaceString;
    /**
     * @return The definition of the parameter.
     * 
     */
    private @Nullable List parameters;

    private ModeValueInfoResponse() {}
    /**
     * @return The interface string name for the nested parameter.
     * 
     */
    public Optional interfaceString() {
        return Optional.ofNullable(this.interfaceString);
    }
    /**
     * @return The definition of the parameter.
     * 
     */
    public List parameters() {
        return this.parameters == null ? List.of() : this.parameters;
    }

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

    public static Builder builder(ModeValueInfoResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String interfaceString;
        private @Nullable List parameters;
        public Builder() {}
        public Builder(ModeValueInfoResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.interfaceString = defaults.interfaceString;
    	      this.parameters = defaults.parameters;
        }

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

            this.interfaceString = interfaceString;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable List parameters) {

            this.parameters = parameters;
            return this;
        }
        public Builder parameters(ModuleAssetParameterResponse... parameters) {
            return parameters(List.of(parameters));
        }
        public ModeValueInfoResponse build() {
            final var _resultValue = new ModeValueInfoResponse();
            _resultValue.interfaceString = interfaceString;
            _resultValue.parameters = parameters;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy