
com.pulumi.azurenative.documentdb.outputs.ApiPropertiesResponse Maven / Gradle / Ivy
// *** 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.documentdb.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApiPropertiesResponse {
/**
* @return Describes the ServerVersion of an a MongoDB account.
*
*/
private @Nullable String serverVersion;
private ApiPropertiesResponse() {}
/**
* @return Describes the ServerVersion of an a MongoDB account.
*
*/
public Optional serverVersion() {
return Optional.ofNullable(this.serverVersion);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApiPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String serverVersion;
public Builder() {}
public Builder(ApiPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.serverVersion = defaults.serverVersion;
}
@CustomType.Setter
public Builder serverVersion(@Nullable String serverVersion) {
this.serverVersion = serverVersion;
return this;
}
public ApiPropertiesResponse build() {
final var _resultValue = new ApiPropertiesResponse();
_resultValue.serverVersion = serverVersion;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy