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

com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicy Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.keyvault.outputs;

import com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicyIssuerParameter;
import com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicyKeyProperty;
import com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicyLifetimeAction;
import com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicySecretProperty;
import com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicyX509CertificateProperty;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetCertificateCertificatePolicy {
    /**
     * @return A `issuer_parameters` block as defined below.
     * 
     */
    private List issuerParameters;
    /**
     * @return A `key_properties` block as defined below.
     * 
     */
    private List keyProperties;
    /**
     * @return A `lifetime_action` block as defined below.
     * 
     */
    private List lifetimeActions;
    /**
     * @return A `secret_properties` block as defined below.
     * 
     */
    private List secretProperties;
    /**
     * @return An `x509_certificate_properties` block as defined below.
     * 
     */
    private List x509CertificateProperties;

    private GetCertificateCertificatePolicy() {}
    /**
     * @return A `issuer_parameters` block as defined below.
     * 
     */
    public List issuerParameters() {
        return this.issuerParameters;
    }
    /**
     * @return A `key_properties` block as defined below.
     * 
     */
    public List keyProperties() {
        return this.keyProperties;
    }
    /**
     * @return A `lifetime_action` block as defined below.
     * 
     */
    public List lifetimeActions() {
        return this.lifetimeActions;
    }
    /**
     * @return A `secret_properties` block as defined below.
     * 
     */
    public List secretProperties() {
        return this.secretProperties;
    }
    /**
     * @return An `x509_certificate_properties` block as defined below.
     * 
     */
    public List x509CertificateProperties() {
        return this.x509CertificateProperties;
    }

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

    public static Builder builder(GetCertificateCertificatePolicy defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List issuerParameters;
        private List keyProperties;
        private List lifetimeActions;
        private List secretProperties;
        private List x509CertificateProperties;
        public Builder() {}
        public Builder(GetCertificateCertificatePolicy defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.issuerParameters = defaults.issuerParameters;
    	      this.keyProperties = defaults.keyProperties;
    	      this.lifetimeActions = defaults.lifetimeActions;
    	      this.secretProperties = defaults.secretProperties;
    	      this.x509CertificateProperties = defaults.x509CertificateProperties;
        }

        @CustomType.Setter
        public Builder issuerParameters(List issuerParameters) {
            if (issuerParameters == null) {
              throw new MissingRequiredPropertyException("GetCertificateCertificatePolicy", "issuerParameters");
            }
            this.issuerParameters = issuerParameters;
            return this;
        }
        public Builder issuerParameters(GetCertificateCertificatePolicyIssuerParameter... issuerParameters) {
            return issuerParameters(List.of(issuerParameters));
        }
        @CustomType.Setter
        public Builder keyProperties(List keyProperties) {
            if (keyProperties == null) {
              throw new MissingRequiredPropertyException("GetCertificateCertificatePolicy", "keyProperties");
            }
            this.keyProperties = keyProperties;
            return this;
        }
        public Builder keyProperties(GetCertificateCertificatePolicyKeyProperty... keyProperties) {
            return keyProperties(List.of(keyProperties));
        }
        @CustomType.Setter
        public Builder lifetimeActions(List lifetimeActions) {
            if (lifetimeActions == null) {
              throw new MissingRequiredPropertyException("GetCertificateCertificatePolicy", "lifetimeActions");
            }
            this.lifetimeActions = lifetimeActions;
            return this;
        }
        public Builder lifetimeActions(GetCertificateCertificatePolicyLifetimeAction... lifetimeActions) {
            return lifetimeActions(List.of(lifetimeActions));
        }
        @CustomType.Setter
        public Builder secretProperties(List secretProperties) {
            if (secretProperties == null) {
              throw new MissingRequiredPropertyException("GetCertificateCertificatePolicy", "secretProperties");
            }
            this.secretProperties = secretProperties;
            return this;
        }
        public Builder secretProperties(GetCertificateCertificatePolicySecretProperty... secretProperties) {
            return secretProperties(List.of(secretProperties));
        }
        @CustomType.Setter
        public Builder x509CertificateProperties(List x509CertificateProperties) {
            if (x509CertificateProperties == null) {
              throw new MissingRequiredPropertyException("GetCertificateCertificatePolicy", "x509CertificateProperties");
            }
            this.x509CertificateProperties = x509CertificateProperties;
            return this;
        }
        public Builder x509CertificateProperties(GetCertificateCertificatePolicyX509CertificateProperty... x509CertificateProperties) {
            return x509CertificateProperties(List.of(x509CertificateProperties));
        }
        public GetCertificateCertificatePolicy build() {
            final var _resultValue = new GetCertificateCertificatePolicy();
            _resultValue.issuerParameters = issuerParameters;
            _resultValue.keyProperties = keyProperties;
            _resultValue.lifetimeActions = lifetimeActions;
            _resultValue.secretProperties = secretProperties;
            _resultValue.x509CertificateProperties = x509CertificateProperties;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy