
com.pulumi.azurenative.hybridnetwork.outputs.NetworkServiceDesignVersionPropertiesFormatResponse Maven / Gradle / Ivy
// *** 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.hybridnetwork.outputs;
import com.pulumi.azurenative.hybridnetwork.outputs.ArmResourceDefinitionResourceElementTemplateDetailsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.NetworkFunctionDefinitionResourceElementTemplateDetailsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.NfviDetailsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.ReferencedResourceResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NetworkServiceDesignVersionPropertiesFormatResponse {
/**
* @return The configuration schemas to used to define the values.
*
*/
private @Nullable Map configurationGroupSchemaReferences;
/**
* @return The network service design version description.
*
*/
private @Nullable String description;
/**
* @return The nfvis from the site.
*
*/
private @Nullable Map nfvisFromSite;
/**
* @return The provisioning state of the network service design version resource.
*
*/
private String provisioningState;
/**
* @return List of resource element template
*
*/
private @Nullable List> resourceElementTemplates;
/**
* @return The network service design version state.
*
*/
private String versionState;
private NetworkServiceDesignVersionPropertiesFormatResponse() {}
/**
* @return The configuration schemas to used to define the values.
*
*/
public Map configurationGroupSchemaReferences() {
return this.configurationGroupSchemaReferences == null ? Map.of() : this.configurationGroupSchemaReferences;
}
/**
* @return The network service design version description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The nfvis from the site.
*
*/
public Map nfvisFromSite() {
return this.nfvisFromSite == null ? Map.of() : this.nfvisFromSite;
}
/**
* @return The provisioning state of the network service design version resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return List of resource element template
*
*/
public List> resourceElementTemplates() {
return this.resourceElementTemplates == null ? List.of() : this.resourceElementTemplates;
}
/**
* @return The network service design version state.
*
*/
public String versionState() {
return this.versionState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkServiceDesignVersionPropertiesFormatResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map configurationGroupSchemaReferences;
private @Nullable String description;
private @Nullable Map nfvisFromSite;
private String provisioningState;
private @Nullable List> resourceElementTemplates;
private String versionState;
public Builder() {}
public Builder(NetworkServiceDesignVersionPropertiesFormatResponse defaults) {
Objects.requireNonNull(defaults);
this.configurationGroupSchemaReferences = defaults.configurationGroupSchemaReferences;
this.description = defaults.description;
this.nfvisFromSite = defaults.nfvisFromSite;
this.provisioningState = defaults.provisioningState;
this.resourceElementTemplates = defaults.resourceElementTemplates;
this.versionState = defaults.versionState;
}
@CustomType.Setter
public Builder configurationGroupSchemaReferences(@Nullable Map configurationGroupSchemaReferences) {
this.configurationGroupSchemaReferences = configurationGroupSchemaReferences;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder nfvisFromSite(@Nullable Map nfvisFromSite) {
this.nfvisFromSite = nfvisFromSite;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("NetworkServiceDesignVersionPropertiesFormatResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder resourceElementTemplates(@Nullable List> resourceElementTemplates) {
this.resourceElementTemplates = resourceElementTemplates;
return this;
}
public Builder resourceElementTemplates(Either... resourceElementTemplates) {
return resourceElementTemplates(List.of(resourceElementTemplates));
}
@CustomType.Setter
public Builder versionState(String versionState) {
if (versionState == null) {
throw new MissingRequiredPropertyException("NetworkServiceDesignVersionPropertiesFormatResponse", "versionState");
}
this.versionState = versionState;
return this;
}
public NetworkServiceDesignVersionPropertiesFormatResponse build() {
final var _resultValue = new NetworkServiceDesignVersionPropertiesFormatResponse();
_resultValue.configurationGroupSchemaReferences = configurationGroupSchemaReferences;
_resultValue.description = description;
_resultValue.nfvisFromSite = nfvisFromSite;
_resultValue.provisioningState = provisioningState;
_resultValue.resourceElementTemplates = resourceElementTemplates;
_resultValue.versionState = versionState;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy