
com.pulumi.azurenative.timeseriesinsights.outputs.IngressEnvironmentStatusResponse 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.azurenative.timeseriesinsights.outputs.EnvironmentStateDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class IngressEnvironmentStatusResponse {
/**
* @return This string represents the state of ingress operations on an environment. It can be "Disabled", "Ready", "Running", "Paused" or "Unknown"
*
*/
private @Nullable String state;
/**
* @return An object that contains the details about an environment's state.
*
*/
private EnvironmentStateDetailsResponse stateDetails;
private IngressEnvironmentStatusResponse() {}
/**
* @return This string represents the state of ingress operations on an environment. It can be "Disabled", "Ready", "Running", "Paused" or "Unknown"
*
*/
public Optional state() {
return Optional.ofNullable(this.state);
}
/**
* @return An object that contains the details about an environment's state.
*
*/
public EnvironmentStateDetailsResponse stateDetails() {
return this.stateDetails;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IngressEnvironmentStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String state;
private EnvironmentStateDetailsResponse stateDetails;
public Builder() {}
public Builder(IngressEnvironmentStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.state = defaults.state;
this.stateDetails = defaults.stateDetails;
}
@CustomType.Setter
public Builder state(@Nullable String state) {
this.state = state;
return this;
}
@CustomType.Setter
public Builder stateDetails(EnvironmentStateDetailsResponse stateDetails) {
if (stateDetails == null) {
throw new MissingRequiredPropertyException("IngressEnvironmentStatusResponse", "stateDetails");
}
this.stateDetails = stateDetails;
return this;
}
public IngressEnvironmentStatusResponse build() {
final var _resultValue = new IngressEnvironmentStatusResponse();
_resultValue.state = state;
_resultValue.stateDetails = stateDetails;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy