
com.pulumi.azurenative.managednetworkfabric.outputs.GetNetworkFabricTopologyResult 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.managednetworkfabric.outputs;
import com.pulumi.azurenative.managednetworkfabric.outputs.ErrorDetailResponse;
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 GetNetworkFabricTopologyResult {
/**
* @return Gets the configuration state.
*
*/
private String configurationState;
/**
* @return The error object.
*
*/
private @Nullable ErrorDetailResponse error;
/**
* @return URL for the details of the response.
*
*/
private @Nullable String url;
private GetNetworkFabricTopologyResult() {}
/**
* @return Gets the configuration state.
*
*/
public String configurationState() {
return this.configurationState;
}
/**
* @return The error object.
*
*/
public Optional error() {
return Optional.ofNullable(this.error);
}
/**
* @return URL for the details of the response.
*
*/
public Optional url() {
return Optional.ofNullable(this.url);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetNetworkFabricTopologyResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String configurationState;
private @Nullable ErrorDetailResponse error;
private @Nullable String url;
public Builder() {}
public Builder(GetNetworkFabricTopologyResult defaults) {
Objects.requireNonNull(defaults);
this.configurationState = defaults.configurationState;
this.error = defaults.error;
this.url = defaults.url;
}
@CustomType.Setter
public Builder configurationState(String configurationState) {
if (configurationState == null) {
throw new MissingRequiredPropertyException("GetNetworkFabricTopologyResult", "configurationState");
}
this.configurationState = configurationState;
return this;
}
@CustomType.Setter
public Builder error(@Nullable ErrorDetailResponse error) {
this.error = error;
return this;
}
@CustomType.Setter
public Builder url(@Nullable String url) {
this.url = url;
return this;
}
public GetNetworkFabricTopologyResult build() {
final var _resultValue = new GetNetworkFabricTopologyResult();
_resultValue.configurationState = configurationState;
_resultValue.error = error;
_resultValue.url = url;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy