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

com.pulumi.mongodbatlas.outputs.GetFederatedQueryLimitsInvokeResult Maven / Gradle / Ivy

// *** 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.mongodbatlas.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.mongodbatlas.outputs.GetFederatedQueryLimitsResult;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetFederatedQueryLimitsInvokeResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String projectId;
    /**
     * @return Includes Federated Database instance query limits for each item detailed in the results array section.
     * 
     */
    private List results;
    private String tenantName;

    private GetFederatedQueryLimitsInvokeResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String projectId() {
        return this.projectId;
    }
    /**
     * @return Includes Federated Database instance query limits for each item detailed in the results array section.
     * 
     */
    public List results() {
        return this.results;
    }
    public String tenantName() {
        return this.tenantName;
    }

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

    public static Builder builder(GetFederatedQueryLimitsInvokeResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String projectId;
        private List results;
        private String tenantName;
        public Builder() {}
        public Builder(GetFederatedQueryLimitsInvokeResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.projectId = defaults.projectId;
    	      this.results = defaults.results;
    	      this.tenantName = defaults.tenantName;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetFederatedQueryLimitsInvokeResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder projectId(String projectId) {
            if (projectId == null) {
              throw new MissingRequiredPropertyException("GetFederatedQueryLimitsInvokeResult", "projectId");
            }
            this.projectId = projectId;
            return this;
        }
        @CustomType.Setter
        public Builder results(List results) {
            if (results == null) {
              throw new MissingRequiredPropertyException("GetFederatedQueryLimitsInvokeResult", "results");
            }
            this.results = results;
            return this;
        }
        public Builder results(GetFederatedQueryLimitsResult... results) {
            return results(List.of(results));
        }
        @CustomType.Setter
        public Builder tenantName(String tenantName) {
            if (tenantName == null) {
              throw new MissingRequiredPropertyException("GetFederatedQueryLimitsInvokeResult", "tenantName");
            }
            this.tenantName = tenantName;
            return this;
        }
        public GetFederatedQueryLimitsInvokeResult build() {
            final var _resultValue = new GetFederatedQueryLimitsInvokeResult();
            _resultValue.id = id;
            _resultValue.projectId = projectId;
            _resultValue.results = results;
            _resultValue.tenantName = tenantName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy