com.pulumi.alicloud.cs.outputs.GetKubernetesAddonMetadataResult 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 GetKubernetesAddonMetadataResult {
private String clusterId;
/**
* @return The addon configuration that can be customized. The returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet.
*
*/
private String configSchema;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String name;
private String version;
private GetKubernetesAddonMetadataResult() {}
public String clusterId() {
return this.clusterId;
}
/**
* @return The addon configuration that can be customized. The returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet.
*
*/
public String configSchema() {
return this.configSchema;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String name() {
return this.name;
}
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetKubernetesAddonMetadataResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String clusterId;
private String configSchema;
private String id;
private String name;
private String version;
public Builder() {}
public Builder(GetKubernetesAddonMetadataResult defaults) {
Objects.requireNonNull(defaults);
this.clusterId = defaults.clusterId;
this.configSchema = defaults.configSchema;
this.id = defaults.id;
this.name = defaults.name;
this.version = defaults.version;
}
@CustomType.Setter
public Builder clusterId(String clusterId) {
if (clusterId == null) {
throw new MissingRequiredPropertyException("GetKubernetesAddonMetadataResult", "clusterId");
}
this.clusterId = clusterId;
return this;
}
@CustomType.Setter
public Builder configSchema(String configSchema) {
if (configSchema == null) {
throw new MissingRequiredPropertyException("GetKubernetesAddonMetadataResult", "configSchema");
}
this.configSchema = configSchema;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetKubernetesAddonMetadataResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetKubernetesAddonMetadataResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetKubernetesAddonMetadataResult", "version");
}
this.version = version;
return this;
}
public GetKubernetesAddonMetadataResult build() {
final var _resultValue = new GetKubernetesAddonMetadataResult();
_resultValue.clusterId = clusterId;
_resultValue.configSchema = configSchema;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.version = version;
return _resultValue;
}
}
}