com.pulumi.azurenative.databoxedge.outputs.EtcdInfoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.databoxedge.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class EtcdInfoResponse {
/**
* @return Etcd type
*
*/
private String type;
/**
* @return Etcd version
*
*/
private String version;
private EtcdInfoResponse() {}
/**
* @return Etcd type
*
*/
public String type() {
return this.type;
}
/**
* @return Etcd version
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EtcdInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String type;
private String version;
public Builder() {}
public Builder(EtcdInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
this.version = defaults.version;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("EtcdInfoResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("EtcdInfoResponse", "version");
}
this.version = version;
return this;
}
public EtcdInfoResponse build() {
final var _resultValue = new EtcdInfoResponse();
_resultValue.type = type;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy