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

com.pulumi.alicloud.alb.outputs.GetLoadBalancersBalancerAccessLogConfig Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.alb.outputs;

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

@CustomType
public final class GetLoadBalancersBalancerAccessLogConfig {
    /**
     * @return The log service that access logs are shipped to.
     * 
     */
    private String logProject;
    /**
     * @return The logstore that access logs are shipped to.
     * 
     */
    private String logStore;

    private GetLoadBalancersBalancerAccessLogConfig() {}
    /**
     * @return The log service that access logs are shipped to.
     * 
     */
    public String logProject() {
        return this.logProject;
    }
    /**
     * @return The logstore that access logs are shipped to.
     * 
     */
    public String logStore() {
        return this.logStore;
    }

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

    public static Builder builder(GetLoadBalancersBalancerAccessLogConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String logProject;
        private String logStore;
        public Builder() {}
        public Builder(GetLoadBalancersBalancerAccessLogConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.logProject = defaults.logProject;
    	      this.logStore = defaults.logStore;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy