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

com.pulumi.azurenative.hybridnetwork.outputs.GetVendorSkusResult 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.NetworkFunctionTemplateResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetVendorSkusResult {
    /**
     * @return The sku deployment mode.
     * 
     */
    private @Nullable String deploymentMode;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The parameters for the managed application to be supplied by the vendor.
     * 
     */
    private @Nullable Object managedApplicationParameters;
    /**
     * @return The template for the managed application deployment.
     * 
     */
    private @Nullable Object managedApplicationTemplate;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The template definition of the network function.
     * 
     */
    private @Nullable NetworkFunctionTemplateResponse networkFunctionTemplate;
    /**
     * @return The network function type.
     * 
     */
    private @Nullable String networkFunctionType;
    /**
     * @return Indicates if the vendor sku is in preview mode.
     * 
     */
    private @Nullable Boolean preview;
    /**
     * @return The provisioning state of the vendor sku sub resource.
     * 
     */
    private String provisioningState;
    /**
     * @return The sku type.
     * 
     */
    private @Nullable String skuType;
    /**
     * @return The system meta data relating to this resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetVendorSkusResult() {}
    /**
     * @return The sku deployment mode.
     * 
     */
    public Optional deploymentMode() {
        return Optional.ofNullable(this.deploymentMode);
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The parameters for the managed application to be supplied by the vendor.
     * 
     */
    public Optional managedApplicationParameters() {
        return Optional.ofNullable(this.managedApplicationParameters);
    }
    /**
     * @return The template for the managed application deployment.
     * 
     */
    public Optional managedApplicationTemplate() {
        return Optional.ofNullable(this.managedApplicationTemplate);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The template definition of the network function.
     * 
     */
    public Optional networkFunctionTemplate() {
        return Optional.ofNullable(this.networkFunctionTemplate);
    }
    /**
     * @return The network function type.
     * 
     */
    public Optional networkFunctionType() {
        return Optional.ofNullable(this.networkFunctionType);
    }
    /**
     * @return Indicates if the vendor sku is in preview mode.
     * 
     */
    public Optional preview() {
        return Optional.ofNullable(this.preview);
    }
    /**
     * @return The provisioning state of the vendor sku sub resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The sku type.
     * 
     */
    public Optional skuType() {
        return Optional.ofNullable(this.skuType);
    }
    /**
     * @return The system meta data relating to this resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetVendorSkusResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String deploymentMode;
        private String id;
        private @Nullable Object managedApplicationParameters;
        private @Nullable Object managedApplicationTemplate;
        private String name;
        private @Nullable NetworkFunctionTemplateResponse networkFunctionTemplate;
        private @Nullable String networkFunctionType;
        private @Nullable Boolean preview;
        private String provisioningState;
        private @Nullable String skuType;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetVendorSkusResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deploymentMode = defaults.deploymentMode;
    	      this.id = defaults.id;
    	      this.managedApplicationParameters = defaults.managedApplicationParameters;
    	      this.managedApplicationTemplate = defaults.managedApplicationTemplate;
    	      this.name = defaults.name;
    	      this.networkFunctionTemplate = defaults.networkFunctionTemplate;
    	      this.networkFunctionType = defaults.networkFunctionType;
    	      this.preview = defaults.preview;
    	      this.provisioningState = defaults.provisioningState;
    	      this.skuType = defaults.skuType;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder deploymentMode(@Nullable String deploymentMode) {

            this.deploymentMode = deploymentMode;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetVendorSkusResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder managedApplicationParameters(@Nullable Object managedApplicationParameters) {

            this.managedApplicationParameters = managedApplicationParameters;
            return this;
        }
        @CustomType.Setter
        public Builder managedApplicationTemplate(@Nullable Object managedApplicationTemplate) {

            this.managedApplicationTemplate = managedApplicationTemplate;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetVendorSkusResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkFunctionTemplate(@Nullable NetworkFunctionTemplateResponse networkFunctionTemplate) {

            this.networkFunctionTemplate = networkFunctionTemplate;
            return this;
        }
        @CustomType.Setter
        public Builder networkFunctionType(@Nullable String networkFunctionType) {

            this.networkFunctionType = networkFunctionType;
            return this;
        }
        @CustomType.Setter
        public Builder preview(@Nullable Boolean preview) {

            this.preview = preview;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetVendorSkusResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder skuType(@Nullable String skuType) {

            this.skuType = skuType;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetVendorSkusResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetVendorSkusResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetVendorSkusResult build() {
            final var _resultValue = new GetVendorSkusResult();
            _resultValue.deploymentMode = deploymentMode;
            _resultValue.id = id;
            _resultValue.managedApplicationParameters = managedApplicationParameters;
            _resultValue.managedApplicationTemplate = managedApplicationTemplate;
            _resultValue.name = name;
            _resultValue.networkFunctionTemplate = networkFunctionTemplate;
            _resultValue.networkFunctionType = networkFunctionType;
            _resultValue.preview = preview;
            _resultValue.provisioningState = provisioningState;
            _resultValue.skuType = skuType;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}