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

com.pulumi.azurenative.cdn.outputs.KeyVaultCertificateSourceParametersResponse Maven / Gradle / Ivy

The 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.cdn.outputs;

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

@CustomType
public final class KeyVaultCertificateSourceParametersResponse {
    /**
     * @return Describes the action that shall be taken when the certificate is removed from Key Vault.
     * 
     */
    private String deleteRule;
    /**
     * @return Resource group of the user's Key Vault containing the SSL certificate
     * 
     */
    private String resourceGroupName;
    /**
     * @return The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
     * 
     */
    private String secretName;
    /**
     * @return The version(GUID) of Key Vault Secret in Key Vault.
     * 
     */
    private @Nullable String secretVersion;
    /**
     * @return Subscription Id of the user's Key Vault containing the SSL certificate
     * 
     */
    private String subscriptionId;
    private String typeName;
    /**
     * @return Describes the action that shall be taken when the certificate is updated in Key Vault.
     * 
     */
    private String updateRule;
    /**
     * @return The name of the user's Key Vault containing the SSL certificate
     * 
     */
    private String vaultName;

    private KeyVaultCertificateSourceParametersResponse() {}
    /**
     * @return Describes the action that shall be taken when the certificate is removed from Key Vault.
     * 
     */
    public String deleteRule() {
        return this.deleteRule;
    }
    /**
     * @return Resource group of the user's Key Vault containing the SSL certificate
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
     * 
     */
    public String secretName() {
        return this.secretName;
    }
    /**
     * @return The version(GUID) of Key Vault Secret in Key Vault.
     * 
     */
    public Optional secretVersion() {
        return Optional.ofNullable(this.secretVersion);
    }
    /**
     * @return Subscription Id of the user's Key Vault containing the SSL certificate
     * 
     */
    public String subscriptionId() {
        return this.subscriptionId;
    }
    public String typeName() {
        return this.typeName;
    }
    /**
     * @return Describes the action that shall be taken when the certificate is updated in Key Vault.
     * 
     */
    public String updateRule() {
        return this.updateRule;
    }
    /**
     * @return The name of the user's Key Vault containing the SSL certificate
     * 
     */
    public String vaultName() {
        return this.vaultName;
    }

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

    public static Builder builder(KeyVaultCertificateSourceParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String deleteRule;
        private String resourceGroupName;
        private String secretName;
        private @Nullable String secretVersion;
        private String subscriptionId;
        private String typeName;
        private String updateRule;
        private String vaultName;
        public Builder() {}
        public Builder(KeyVaultCertificateSourceParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deleteRule = defaults.deleteRule;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.secretName = defaults.secretName;
    	      this.secretVersion = defaults.secretVersion;
    	      this.subscriptionId = defaults.subscriptionId;
    	      this.typeName = defaults.typeName;
    	      this.updateRule = defaults.updateRule;
    	      this.vaultName = defaults.vaultName;
        }

        @CustomType.Setter
        public Builder deleteRule(String deleteRule) {
            if (deleteRule == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "deleteRule");
            }
            this.deleteRule = deleteRule;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder secretName(String secretName) {
            if (secretName == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "secretName");
            }
            this.secretName = secretName;
            return this;
        }
        @CustomType.Setter
        public Builder secretVersion(@Nullable String secretVersion) {

            this.secretVersion = secretVersion;
            return this;
        }
        @CustomType.Setter
        public Builder subscriptionId(String subscriptionId) {
            if (subscriptionId == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "subscriptionId");
            }
            this.subscriptionId = subscriptionId;
            return this;
        }
        @CustomType.Setter
        public Builder typeName(String typeName) {
            if (typeName == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "typeName");
            }
            this.typeName = typeName;
            return this;
        }
        @CustomType.Setter
        public Builder updateRule(String updateRule) {
            if (updateRule == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "updateRule");
            }
            this.updateRule = updateRule;
            return this;
        }
        @CustomType.Setter
        public Builder vaultName(String vaultName) {
            if (vaultName == null) {
              throw new MissingRequiredPropertyException("KeyVaultCertificateSourceParametersResponse", "vaultName");
            }
            this.vaultName = vaultName;
            return this;
        }
        public KeyVaultCertificateSourceParametersResponse build() {
            final var _resultValue = new KeyVaultCertificateSourceParametersResponse();
            _resultValue.deleteRule = deleteRule;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.secretName = secretName;
            _resultValue.secretVersion = secretVersion;
            _resultValue.subscriptionId = subscriptionId;
            _resultValue.typeName = typeName;
            _resultValue.updateRule = updateRule;
            _resultValue.vaultName = vaultName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy