All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.hybridnetwork.outputs.SitePropertiesFormatResponse 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.AzureArcK8sClusterNFVIDetailsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.AzureCoreNFVIDetailsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.AzureOperatorNexusClusterNFVIDetailsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.ReferencedResourceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class SitePropertiesFormatResponse {
    /**
     * @return List of NFVIs
     * 
     */
    private @Nullable List nfvis;
    /**
     * @return The provisioning state of the site resource. **TODO**: Confirm if this is needed.
     * 
     */
    private String provisioningState;
    /**
     * @return The list of site network services on the site.
     * 
     */
    private List siteNetworkServiceReferences;

    private SitePropertiesFormatResponse() {}
    /**
     * @return List of NFVIs
     * 
     */
    public List nfvis() {
        return this.nfvis == null ? List.of() : this.nfvis;
    }
    /**
     * @return The provisioning state of the site resource. **TODO**: Confirm if this is needed.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The list of site network services on the site.
     * 
     */
    public List siteNetworkServiceReferences() {
        return this.siteNetworkServiceReferences;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(SitePropertiesFormatResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List nfvis;
        private String provisioningState;
        private List siteNetworkServiceReferences;
        public Builder() {}
        public Builder(SitePropertiesFormatResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.nfvis = defaults.nfvis;
    	      this.provisioningState = defaults.provisioningState;
    	      this.siteNetworkServiceReferences = defaults.siteNetworkServiceReferences;
        }

        @CustomType.Setter
        public Builder nfvis(@Nullable List nfvis) {

            this.nfvis = nfvis;
            return this;
        }
        public Builder nfvis(Object... nfvis) {
            return nfvis(List.of(nfvis));
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("SitePropertiesFormatResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder siteNetworkServiceReferences(List siteNetworkServiceReferences) {
            if (siteNetworkServiceReferences == null) {
              throw new MissingRequiredPropertyException("SitePropertiesFormatResponse", "siteNetworkServiceReferences");
            }
            this.siteNetworkServiceReferences = siteNetworkServiceReferences;
            return this;
        }
        public Builder siteNetworkServiceReferences(ReferencedResourceResponse... siteNetworkServiceReferences) {
            return siteNetworkServiceReferences(List.of(siteNetworkServiceReferences));
        }
        public SitePropertiesFormatResponse build() {
            final var _resultValue = new SitePropertiesFormatResponse();
            _resultValue.nfvis = nfvis;
            _resultValue.provisioningState = provisioningState;
            _resultValue.siteNetworkServiceReferences = siteNetworkServiceReferences;
            return _resultValue;
        }
    }
}