com.pulumi.azurenative.timeseriesinsights.outputs.WarmStorageEnvironmentStatusResponse 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.timeseriesinsights.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 WarmStorageEnvironmentStatusResponse {
/**
* @return A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU
*
*/
private @Nullable Integer currentCount;
/**
* @return A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
*
*/
private @Nullable Integer maxCount;
/**
* @return This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".
*
*/
private @Nullable String state;
private WarmStorageEnvironmentStatusResponse() {}
/**
* @return A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU
*
*/
public Optional currentCount() {
return Optional.ofNullable(this.currentCount);
}
/**
* @return A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.
*
*/
public Optional maxCount() {
return Optional.ofNullable(this.maxCount);
}
/**
* @return This string represents the state of warm storage properties usage. It can be "Ok", "Error", "Unknown".
*
*/
public Optional state() {
return Optional.ofNullable(this.state);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WarmStorageEnvironmentStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer currentCount;
private @Nullable Integer maxCount;
private @Nullable String state;
public Builder() {}
public Builder(WarmStorageEnvironmentStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.currentCount = defaults.currentCount;
this.maxCount = defaults.maxCount;
this.state = defaults.state;
}
@CustomType.Setter
public Builder currentCount(@Nullable Integer currentCount) {
this.currentCount = currentCount;
return this;
}
@CustomType.Setter
public Builder maxCount(@Nullable Integer maxCount) {
this.maxCount = maxCount;
return this;
}
@CustomType.Setter
public Builder state(@Nullable String state) {
this.state = state;
return this;
}
public WarmStorageEnvironmentStatusResponse build() {
final var _resultValue = new WarmStorageEnvironmentStatusResponse();
_resultValue.currentCount = currentCount;
_resultValue.maxCount = maxCount;
_resultValue.state = state;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy