com.pulumi.azurenative.confluent.outputs.ClusterStatusEntityResponse 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.
The 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.azurenative.confluent.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterStatusEntityResponse {
/**
* @return The number of Confluent Kafka Units
*
*/
private @Nullable Integer cku;
/**
* @return The lifecycle phase of the cluster
*
*/
private @Nullable String phase;
private ClusterStatusEntityResponse() {}
/**
* @return The number of Confluent Kafka Units
*
*/
public Optional cku() {
return Optional.ofNullable(this.cku);
}
/**
* @return The lifecycle phase of the cluster
*
*/
public Optional phase() {
return Optional.ofNullable(this.phase);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterStatusEntityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer cku;
private @Nullable String phase;
public Builder() {}
public Builder(ClusterStatusEntityResponse defaults) {
Objects.requireNonNull(defaults);
this.cku = defaults.cku;
this.phase = defaults.phase;
}
@CustomType.Setter
public Builder cku(@Nullable Integer cku) {
this.cku = cku;
return this;
}
@CustomType.Setter
public Builder phase(@Nullable String phase) {
this.phase = phase;
return this;
}
public ClusterStatusEntityResponse build() {
final var _resultValue = new ClusterStatusEntityResponse();
_resultValue.cku = cku;
_resultValue.phase = phase;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy