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

com.pulumi.azure.kusto.outputs.GetDatabaseResult Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.kusto.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetDatabaseResult {
    private String clusterName;
    /**
     * @return The time the data that should be kept in cache for fast queries as ISO 8601 timespan.
     * 
     */
    private String hotCachePeriod;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The Azure Region in which the managed Kusto Database exists.
     * 
     */
    private String location;
    private String name;
    private String resourceGroupName;
    /**
     * @return The size of the database in bytes.
     * 
     */
    private Double size;
    /**
     * @return The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan.
     * 
     */
    private String softDeletePeriod;

    private GetDatabaseResult() {}
    public String clusterName() {
        return this.clusterName;
    }
    /**
     * @return The time the data that should be kept in cache for fast queries as ISO 8601 timespan.
     * 
     */
    public String hotCachePeriod() {
        return this.hotCachePeriod;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The Azure Region in which the managed Kusto Database exists.
     * 
     */
    public String location() {
        return this.location;
    }
    public String name() {
        return this.name;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The size of the database in bytes.
     * 
     */
    public Double size() {
        return this.size;
    }
    /**
     * @return The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan.
     * 
     */
    public String softDeletePeriod() {
        return this.softDeletePeriod;
    }

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

    public static Builder builder(GetDatabaseResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clusterName;
        private String hotCachePeriod;
        private String id;
        private String location;
        private String name;
        private String resourceGroupName;
        private Double size;
        private String softDeletePeriod;
        public Builder() {}
        public Builder(GetDatabaseResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clusterName = defaults.clusterName;
    	      this.hotCachePeriod = defaults.hotCachePeriod;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.size = defaults.size;
    	      this.softDeletePeriod = defaults.softDeletePeriod;
        }

        @CustomType.Setter
        public Builder clusterName(String clusterName) {
            if (clusterName == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "clusterName");
            }
            this.clusterName = clusterName;
            return this;
        }
        @CustomType.Setter
        public Builder hotCachePeriod(String hotCachePeriod) {
            if (hotCachePeriod == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "hotCachePeriod");
            }
            this.hotCachePeriod = hotCachePeriod;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder size(Double size) {
            if (size == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "size");
            }
            this.size = size;
            return this;
        }
        @CustomType.Setter
        public Builder softDeletePeriod(String softDeletePeriod) {
            if (softDeletePeriod == null) {
              throw new MissingRequiredPropertyException("GetDatabaseResult", "softDeletePeriod");
            }
            this.softDeletePeriod = softDeletePeriod;
            return this;
        }
        public GetDatabaseResult build() {
            final var _resultValue = new GetDatabaseResult();
            _resultValue.clusterName = clusterName;
            _resultValue.hotCachePeriod = hotCachePeriod;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.size = size;
            _resultValue.softDeletePeriod = softDeletePeriod;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy