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

com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetRegionLoadBalancerLogSubscriptionsResult Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.CloudProject.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetRegionLoadBalancerLogSubscriptionsResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Router used for forwarding log
     * 
     */
    private @Nullable String kind;
    /**
     * @return Loadbalancer id to get the logs
     * 
     */
    private String loadbalancerId;
    /**
     * @return A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
     * 
     */
    private String regionName;
    /**
     * @return The id of the public cloud project.
     * 
     */
    private String serviceName;
    /**
     * @return The list of the subscription id
     * 
     */
    private List subscriptionIds;

    private GetRegionLoadBalancerLogSubscriptionsResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Router used for forwarding log
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return Loadbalancer id to get the logs
     * 
     */
    public String loadbalancerId() {
        return this.loadbalancerId;
    }
    /**
     * @return A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".
     * 
     */
    public String regionName() {
        return this.regionName;
    }
    /**
     * @return The id of the public cloud project.
     * 
     */
    public String serviceName() {
        return this.serviceName;
    }
    /**
     * @return The list of the subscription id
     * 
     */
    public List subscriptionIds() {
        return this.subscriptionIds;
    }

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

    public static Builder builder(GetRegionLoadBalancerLogSubscriptionsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private @Nullable String kind;
        private String loadbalancerId;
        private String regionName;
        private String serviceName;
        private List subscriptionIds;
        public Builder() {}
        public Builder(GetRegionLoadBalancerLogSubscriptionsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.kind = defaults.kind;
    	      this.loadbalancerId = defaults.loadbalancerId;
    	      this.regionName = defaults.regionName;
    	      this.serviceName = defaults.serviceName;
    	      this.subscriptionIds = defaults.subscriptionIds;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetRegionLoadBalancerLogSubscriptionsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder kind(@Nullable String kind) {

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder loadbalancerId(String loadbalancerId) {
            if (loadbalancerId == null) {
              throw new MissingRequiredPropertyException("GetRegionLoadBalancerLogSubscriptionsResult", "loadbalancerId");
            }
            this.loadbalancerId = loadbalancerId;
            return this;
        }
        @CustomType.Setter
        public Builder regionName(String regionName) {
            if (regionName == null) {
              throw new MissingRequiredPropertyException("GetRegionLoadBalancerLogSubscriptionsResult", "regionName");
            }
            this.regionName = regionName;
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            if (serviceName == null) {
              throw new MissingRequiredPropertyException("GetRegionLoadBalancerLogSubscriptionsResult", "serviceName");
            }
            this.serviceName = serviceName;
            return this;
        }
        @CustomType.Setter
        public Builder subscriptionIds(List subscriptionIds) {
            if (subscriptionIds == null) {
              throw new MissingRequiredPropertyException("GetRegionLoadBalancerLogSubscriptionsResult", "subscriptionIds");
            }
            this.subscriptionIds = subscriptionIds;
            return this;
        }
        public Builder subscriptionIds(String... subscriptionIds) {
            return subscriptionIds(List.of(subscriptionIds));
        }
        public GetRegionLoadBalancerLogSubscriptionsResult build() {
            final var _resultValue = new GetRegionLoadBalancerLogSubscriptionsResult();
            _resultValue.id = id;
            _resultValue.kind = kind;
            _resultValue.loadbalancerId = loadbalancerId;
            _resultValue.regionName = regionName;
            _resultValue.serviceName = serviceName;
            _resultValue.subscriptionIds = subscriptionIds;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy