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

com.pulumi.azurenative.hybridnetwork.outputs.AzureArcK8sClusterNFVIDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** 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 AzureArcK8sClusterNFVIDetailsResponse {
    /**
     * @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 'AzureArcKubernetes'.
     * 
     */
    private String nfviType;

    private AzureArcK8sClusterNFVIDetailsResponse() {}
    /**
     * @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 'AzureArcKubernetes'.
     * 
     */
    public String nfviType() {
        return this.nfviType;
    }

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

    public static Builder builder(AzureArcK8sClusterNFVIDetailsResponse 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(AzureArcK8sClusterNFVIDetailsResponse 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("AzureArcK8sClusterNFVIDetailsResponse", "nfviType");
            }
            this.nfviType = nfviType;
            return this;
        }
        public AzureArcK8sClusterNFVIDetailsResponse build() {
            final var _resultValue = new AzureArcK8sClusterNFVIDetailsResponse();
            _resultValue.customLocationReference = customLocationReference;
            _resultValue.name = name;
            _resultValue.nfviType = nfviType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy