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

com.pulumi.azurenative.iotoperationsmq.outputs.SanForCertResponse 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.iotoperationsmq.outputs;

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

@CustomType
public final class SanForCertResponse {
    /**
     * @return DNS SANs.
     * 
     */
    private List dns;
    /**
     * @return IP address SANs.
     * 
     */
    private List ip;

    private SanForCertResponse() {}
    /**
     * @return DNS SANs.
     * 
     */
    public List dns() {
        return this.dns;
    }
    /**
     * @return IP address SANs.
     * 
     */
    public List ip() {
        return this.ip;
    }

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

    public static Builder builder(SanForCertResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List dns;
        private List ip;
        public Builder() {}
        public Builder(SanForCertResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dns = defaults.dns;
    	      this.ip = defaults.ip;
        }

        @CustomType.Setter
        public Builder dns(List dns) {
            if (dns == null) {
              throw new MissingRequiredPropertyException("SanForCertResponse", "dns");
            }
            this.dns = dns;
            return this;
        }
        public Builder dns(String... dns) {
            return dns(List.of(dns));
        }
        @CustomType.Setter
        public Builder ip(List ip) {
            if (ip == null) {
              throw new MissingRequiredPropertyException("SanForCertResponse", "ip");
            }
            this.ip = ip;
            return this;
        }
        public Builder ip(String... ip) {
            return ip(List.of(ip));
        }
        public SanForCertResponse build() {
            final var _resultValue = new SanForCertResponse();
            _resultValue.dns = dns;
            _resultValue.ip = ip;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy