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

com.pulumi.azurenative.kusto.outputs.GetSandboxCustomImageResult Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.kusto.outputs;

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 GetSandboxCustomImageResult {
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The language name, for example Python.
     * 
     */
    private String language;
    /**
     * @return The version of the language.
     * 
     */
    private String languageVersion;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The provisioned state of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return The requirements file content.
     * 
     */
    private @Nullable String requirementsFileContent;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetSandboxCustomImageResult() {}
    /**
     * @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 language name, for example Python.
     * 
     */
    public String language() {
        return this.language;
    }
    /**
     * @return The version of the language.
     * 
     */
    public String languageVersion() {
        return this.languageVersion;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioned state of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The requirements file content.
     * 
     */
    public Optional requirementsFileContent() {
        return Optional.ofNullable(this.requirementsFileContent);
    }
    /**
     * @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(GetSandboxCustomImageResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String language;
        private String languageVersion;
        private String name;
        private String provisioningState;
        private @Nullable String requirementsFileContent;
        private String type;
        public Builder() {}
        public Builder(GetSandboxCustomImageResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.language = defaults.language;
    	      this.languageVersion = defaults.languageVersion;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.requirementsFileContent = defaults.requirementsFileContent;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSandboxCustomImageResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder language(String language) {
            if (language == null) {
              throw new MissingRequiredPropertyException("GetSandboxCustomImageResult", "language");
            }
            this.language = language;
            return this;
        }
        @CustomType.Setter
        public Builder languageVersion(String languageVersion) {
            if (languageVersion == null) {
              throw new MissingRequiredPropertyException("GetSandboxCustomImageResult", "languageVersion");
            }
            this.languageVersion = languageVersion;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetSandboxCustomImageResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetSandboxCustomImageResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder requirementsFileContent(@Nullable String requirementsFileContent) {

            this.requirementsFileContent = requirementsFileContent;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetSandboxCustomImageResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetSandboxCustomImageResult build() {
            final var _resultValue = new GetSandboxCustomImageResult();
            _resultValue.id = id;
            _resultValue.language = language;
            _resultValue.languageVersion = languageVersion;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.requirementsFileContent = requirementsFileContent;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy