com.pulumi.azurenative.networkcloud.outputs.FeatureStatusResponse 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.networkcloud.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class FeatureStatusResponse {
/**
* @return The status representing the state of this feature.
*
*/
private String detailedStatus;
/**
* @return The descriptive message about the current detailed status.
*
*/
private String detailedStatusMessage;
/**
* @return The name of the feature.
*
*/
private String name;
/**
* @return The version of the feature.
*
*/
private String version;
private FeatureStatusResponse() {}
/**
* @return The status representing the state of this feature.
*
*/
public String detailedStatus() {
return this.detailedStatus;
}
/**
* @return The descriptive message about the current detailed status.
*
*/
public String detailedStatusMessage() {
return this.detailedStatusMessage;
}
/**
* @return The name of the feature.
*
*/
public String name() {
return this.name;
}
/**
* @return The version of the feature.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FeatureStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String detailedStatus;
private String detailedStatusMessage;
private String name;
private String version;
public Builder() {}
public Builder(FeatureStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.detailedStatus = defaults.detailedStatus;
this.detailedStatusMessage = defaults.detailedStatusMessage;
this.name = defaults.name;
this.version = defaults.version;
}
@CustomType.Setter
public Builder detailedStatus(String detailedStatus) {
if (detailedStatus == null) {
throw new MissingRequiredPropertyException("FeatureStatusResponse", "detailedStatus");
}
this.detailedStatus = detailedStatus;
return this;
}
@CustomType.Setter
public Builder detailedStatusMessage(String detailedStatusMessage) {
if (detailedStatusMessage == null) {
throw new MissingRequiredPropertyException("FeatureStatusResponse", "detailedStatusMessage");
}
this.detailedStatusMessage = detailedStatusMessage;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("FeatureStatusResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("FeatureStatusResponse", "version");
}
this.version = version;
return this;
}
public FeatureStatusResponse build() {
final var _resultValue = new FeatureStatusResponse();
_resultValue.detailedStatus = detailedStatus;
_resultValue.detailedStatusMessage = detailedStatusMessage;
_resultValue.name = name;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy