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

com.pulumi.alicloud.cs.outputs.GetKubernetesVersionMetadataRuntime Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.cs.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetKubernetesVersionMetadataRuntime {
    /**
     * @return The runtime name.
     * 
     */
    private String name;
    /**
     * @return The runtime version.
     * 
     */
    private String version;

    private GetKubernetesVersionMetadataRuntime() {}
    /**
     * @return The runtime name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The runtime version.
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(GetKubernetesVersionMetadataRuntime defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        private String version;
        public Builder() {}
        public Builder(GetKubernetesVersionMetadataRuntime defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetKubernetesVersionMetadataRuntime", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("GetKubernetesVersionMetadataRuntime", "version");
            }
            this.version = version;
            return this;
        }
        public GetKubernetesVersionMetadataRuntime build() {
            final var _resultValue = new GetKubernetesVersionMetadataRuntime();
            _resultValue.name = name;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy