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

com.pulumi.azurenative.servicefabric.outputs.VaultSecretGroupResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.servicefabric.outputs;

import com.pulumi.azurenative.servicefabric.outputs.SubResourceResponse;
import com.pulumi.azurenative.servicefabric.outputs.VaultCertificateResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class VaultSecretGroupResponse {
    /**
     * @return The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
     * 
     */
    private SubResourceResponse sourceVault;
    /**
     * @return The list of key vault references in SourceVault which contain certificates.
     * 
     */
    private List vaultCertificates;

    private VaultSecretGroupResponse() {}
    /**
     * @return The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
     * 
     */
    public SubResourceResponse sourceVault() {
        return this.sourceVault;
    }
    /**
     * @return The list of key vault references in SourceVault which contain certificates.
     * 
     */
    public List vaultCertificates() {
        return this.vaultCertificates;
    }

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

    public static Builder builder(VaultSecretGroupResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private SubResourceResponse sourceVault;
        private List vaultCertificates;
        public Builder() {}
        public Builder(VaultSecretGroupResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sourceVault = defaults.sourceVault;
    	      this.vaultCertificates = defaults.vaultCertificates;
        }

        @CustomType.Setter
        public Builder sourceVault(SubResourceResponse sourceVault) {
            if (sourceVault == null) {
              throw new MissingRequiredPropertyException("VaultSecretGroupResponse", "sourceVault");
            }
            this.sourceVault = sourceVault;
            return this;
        }
        @CustomType.Setter
        public Builder vaultCertificates(List vaultCertificates) {
            if (vaultCertificates == null) {
              throw new MissingRequiredPropertyException("VaultSecretGroupResponse", "vaultCertificates");
            }
            this.vaultCertificates = vaultCertificates;
            return this;
        }
        public Builder vaultCertificates(VaultCertificateResponse... vaultCertificates) {
            return vaultCertificates(List.of(vaultCertificates));
        }
        public VaultSecretGroupResponse build() {
            final var _resultValue = new VaultSecretGroupResponse();
            _resultValue.sourceVault = sourceVault;
            _resultValue.vaultCertificates = vaultCertificates;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy