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

com.pulumi.azurenative.hdinsight.outputs.ClusterDefinitionResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.hdinsight.outputs;

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

@CustomType
public final class ClusterDefinitionResponse {
    /**
     * @return The link to the blueprint.
     * 
     */
    private @Nullable String blueprint;
    /**
     * @return The versions of different services in the cluster.
     * 
     */
    private @Nullable Map componentVersion;
    /**
     * @return The cluster configurations.
     * 
     */
    private @Nullable Object configurations;
    /**
     * @return The type of cluster.
     * 
     */
    private @Nullable String kind;

    private ClusterDefinitionResponse() {}
    /**
     * @return The link to the blueprint.
     * 
     */
    public Optional blueprint() {
        return Optional.ofNullable(this.blueprint);
    }
    /**
     * @return The versions of different services in the cluster.
     * 
     */
    public Map componentVersion() {
        return this.componentVersion == null ? Map.of() : this.componentVersion;
    }
    /**
     * @return The cluster configurations.
     * 
     */
    public Optional configurations() {
        return Optional.ofNullable(this.configurations);
    }
    /**
     * @return The type of cluster.
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }

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

    public static Builder builder(ClusterDefinitionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String blueprint;
        private @Nullable Map componentVersion;
        private @Nullable Object configurations;
        private @Nullable String kind;
        public Builder() {}
        public Builder(ClusterDefinitionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.blueprint = defaults.blueprint;
    	      this.componentVersion = defaults.componentVersion;
    	      this.configurations = defaults.configurations;
    	      this.kind = defaults.kind;
        }

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

            this.blueprint = blueprint;
            return this;
        }
        @CustomType.Setter
        public Builder componentVersion(@Nullable Map componentVersion) {

            this.componentVersion = componentVersion;
            return this;
        }
        @CustomType.Setter
        public Builder configurations(@Nullable Object configurations) {

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

            this.kind = kind;
            return this;
        }
        public ClusterDefinitionResponse build() {
            final var _resultValue = new ClusterDefinitionResponse();
            _resultValue.blueprint = blueprint;
            _resultValue.componentVersion = componentVersion;
            _resultValue.configurations = configurations;
            _resultValue.kind = kind;
            return _resultValue;
        }
    }
}