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

com.pulumi.azurenative.securityinsights.outputs.SampleQueryResponse Maven / Gradle / Ivy

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

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

@CustomType
public final class SampleQueryResponse {
    /**
     * @return Gets or sets the  sample query description.
     * 
     */
    private String description;
    /**
     * @return Gets or sets the KQL sample query.
     * 
     */
    private String query;

    private SampleQueryResponse() {}
    /**
     * @return Gets or sets the  sample query description.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return Gets or sets the KQL sample query.
     * 
     */
    public String query() {
        return this.query;
    }

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

    public static Builder builder(SampleQueryResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String description;
        private String query;
        public Builder() {}
        public Builder(SampleQueryResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.query = defaults.query;
        }

        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("SampleQueryResponse", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder query(String query) {
            if (query == null) {
              throw new MissingRequiredPropertyException("SampleQueryResponse", "query");
            }
            this.query = query;
            return this;
        }
        public SampleQueryResponse build() {
            final var _resultValue = new SampleQueryResponse();
            _resultValue.description = description;
            _resultValue.query = query;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy