com.pulumi.azurenative.azurestackhci.outputs.VirtualNetworkStatusResponse 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.azurestackhci.outputs;
import com.pulumi.azurenative.azurestackhci.outputs.VirtualNetworkStatusResponseProvisioningStatus;
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 VirtualNetworkStatusResponse {
/**
* @return VirtualNetwork provisioning error code
*
*/
private @Nullable String errorCode;
/**
* @return Descriptive error message
*
*/
private @Nullable String errorMessage;
private @Nullable VirtualNetworkStatusResponseProvisioningStatus provisioningStatus;
private VirtualNetworkStatusResponse() {}
/**
* @return VirtualNetwork provisioning error code
*
*/
public Optional errorCode() {
return Optional.ofNullable(this.errorCode);
}
/**
* @return Descriptive error message
*
*/
public Optional errorMessage() {
return Optional.ofNullable(this.errorMessage);
}
public Optional provisioningStatus() {
return Optional.ofNullable(this.provisioningStatus);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNetworkStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String errorCode;
private @Nullable String errorMessage;
private @Nullable VirtualNetworkStatusResponseProvisioningStatus provisioningStatus;
public Builder() {}
public Builder(VirtualNetworkStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.errorCode = defaults.errorCode;
this.errorMessage = defaults.errorMessage;
this.provisioningStatus = defaults.provisioningStatus;
}
@CustomType.Setter
public Builder errorCode(@Nullable String errorCode) {
this.errorCode = errorCode;
return this;
}
@CustomType.Setter
public Builder errorMessage(@Nullable String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
@CustomType.Setter
public Builder provisioningStatus(@Nullable VirtualNetworkStatusResponseProvisioningStatus provisioningStatus) {
this.provisioningStatus = provisioningStatus;
return this;
}
public VirtualNetworkStatusResponse build() {
final var _resultValue = new VirtualNetworkStatusResponse();
_resultValue.errorCode = errorCode;
_resultValue.errorMessage = errorMessage;
_resultValue.provisioningStatus = provisioningStatus;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy