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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.apigee.outputs.KeystoresAliasesPkcs12CertsInfoCertInfo;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class KeystoresAliasesPkcs12CertsInfo {
    /**
     * @return (Output)
     * List of all properties in the object.
     * Structure is documented below.
     * 
     */
    private @Nullable List<KeystoresAliasesPkcs12CertsInfoCertInfo> certInfos;

    private KeystoresAliasesPkcs12CertsInfo() {}
    /**
     * @return (Output)
     * List of all properties in the object.
     * Structure is documented below.
     * 
     */
    public List<KeystoresAliasesPkcs12CertsInfoCertInfo> certInfos() {
        return this.certInfos == null ? List.of() : this.certInfos;
    }

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

    public static Builder builder(KeystoresAliasesPkcs12CertsInfo defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List<KeystoresAliasesPkcs12CertsInfoCertInfo> certInfos;
        public Builder() {}
        public Builder(KeystoresAliasesPkcs12CertsInfo defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certInfos = defaults.certInfos;
        }

        @CustomType.Setter
        public Builder certInfos(@Nullable List<KeystoresAliasesPkcs12CertsInfoCertInfo> certInfos) {
            this.certInfos = certInfos;
            return this;
        }
        public Builder certInfos(KeystoresAliasesPkcs12CertsInfoCertInfo... certInfos) {
            return certInfos(List.of(certInfos));
        }
        public KeystoresAliasesPkcs12CertsInfo build() {
            final var o = new KeystoresAliasesPkcs12CertsInfo();
            o.certInfos = certInfos;
            return o;
        }
    }
}
