
com.pulumi.azurenative.hybridnetwork.outputs.AzureOperatorNexusNetworkFunctionTemplateResponse 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.hybridnetwork.outputs;
import com.pulumi.azurenative.hybridnetwork.outputs.AzureOperatorNexusNetworkFunctionArmTemplateApplicationResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.AzureOperatorNexusNetworkFunctionImageApplicationResponse;
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.Objects;
import javax.annotation.Nullable;
@CustomType
public final class AzureOperatorNexusNetworkFunctionTemplateResponse {
/**
* @return Network function applications.
*
*/
private @Nullable List> networkFunctionApplications;
/**
* @return The network function type.
* Expected value is 'AzureOperatorNexus'.
*
*/
private String nfviType;
private AzureOperatorNexusNetworkFunctionTemplateResponse() {}
/**
* @return Network function applications.
*
*/
public List> networkFunctionApplications() {
return this.networkFunctionApplications == null ? List.of() : this.networkFunctionApplications;
}
/**
* @return The network function type.
* Expected value is 'AzureOperatorNexus'.
*
*/
public String nfviType() {
return this.nfviType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureOperatorNexusNetworkFunctionTemplateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List> networkFunctionApplications;
private String nfviType;
public Builder() {}
public Builder(AzureOperatorNexusNetworkFunctionTemplateResponse defaults) {
Objects.requireNonNull(defaults);
this.networkFunctionApplications = defaults.networkFunctionApplications;
this.nfviType = defaults.nfviType;
}
@CustomType.Setter
public Builder networkFunctionApplications(@Nullable List> networkFunctionApplications) {
this.networkFunctionApplications = networkFunctionApplications;
return this;
}
public Builder networkFunctionApplications(Either... networkFunctionApplications) {
return networkFunctionApplications(List.of(networkFunctionApplications));
}
@CustomType.Setter
public Builder nfviType(String nfviType) {
if (nfviType == null) {
throw new MissingRequiredPropertyException("AzureOperatorNexusNetworkFunctionTemplateResponse", "nfviType");
}
this.nfviType = nfviType;
return this;
}
public AzureOperatorNexusNetworkFunctionTemplateResponse build() {
final var _resultValue = new AzureOperatorNexusNetworkFunctionTemplateResponse();
_resultValue.networkFunctionApplications = networkFunctionApplications;
_resultValue.nfviType = nfviType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy