com.pulumi.alicloud.cs.outputs.GetKubernetesVersionMetadataRuntime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** 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;
}
}
}