
com.pulumi.azurenative.hybridnetwork.outputs.AzureOperatorNexusClusterNFVIDetailsResponse 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.ReferencedResourceResponse;
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 AzureOperatorNexusClusterNFVIDetailsResponse {
/**
* @return The reference to the custom location.
*
*/
private @Nullable ReferencedResourceResponse customLocationReference;
/**
* @return Name of the nfvi.
*
*/
private @Nullable String name;
/**
* @return The NFVI type.
* Expected value is 'AzureOperatorNexus'.
*
*/
private String nfviType;
private AzureOperatorNexusClusterNFVIDetailsResponse() {}
/**
* @return The reference to the custom location.
*
*/
public Optional customLocationReference() {
return Optional.ofNullable(this.customLocationReference);
}
/**
* @return Name of the nfvi.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The NFVI type.
* Expected value is 'AzureOperatorNexus'.
*
*/
public String nfviType() {
return this.nfviType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureOperatorNexusClusterNFVIDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ReferencedResourceResponse customLocationReference;
private @Nullable String name;
private String nfviType;
public Builder() {}
public Builder(AzureOperatorNexusClusterNFVIDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.customLocationReference = defaults.customLocationReference;
this.name = defaults.name;
this.nfviType = defaults.nfviType;
}
@CustomType.Setter
public Builder customLocationReference(@Nullable ReferencedResourceResponse customLocationReference) {
this.customLocationReference = customLocationReference;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder nfviType(String nfviType) {
if (nfviType == null) {
throw new MissingRequiredPropertyException("AzureOperatorNexusClusterNFVIDetailsResponse", "nfviType");
}
this.nfviType = nfviType;
return this;
}
public AzureOperatorNexusClusterNFVIDetailsResponse build() {
final var _resultValue = new AzureOperatorNexusClusterNFVIDetailsResponse();
_resultValue.customLocationReference = customLocationReference;
_resultValue.name = name;
_resultValue.nfviType = nfviType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy