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

com.pulumi.aws.acmpca.outputs.CertificateAuthorityRevocationConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.acmpca.outputs;

import com.pulumi.aws.acmpca.outputs.CertificateAuthorityRevocationConfigurationCrlConfiguration;
import com.pulumi.aws.acmpca.outputs.CertificateAuthorityRevocationConfigurationOcspConfiguration;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class CertificateAuthorityRevocationConfiguration {
    /**
     * @return Nested argument containing configuration of the certificate revocation list (CRL), if any, maintained by the certificate authority. Defined below.
     * 
     */
    private @Nullable CertificateAuthorityRevocationConfigurationCrlConfiguration crlConfiguration;
    /**
     * @return Nested argument containing configuration of
     * the custom OCSP responder endpoint. Defined below.
     * 
     */
    private @Nullable CertificateAuthorityRevocationConfigurationOcspConfiguration ocspConfiguration;

    private CertificateAuthorityRevocationConfiguration() {}
    /**
     * @return Nested argument containing configuration of the certificate revocation list (CRL), if any, maintained by the certificate authority. Defined below.
     * 
     */
    public Optional crlConfiguration() {
        return Optional.ofNullable(this.crlConfiguration);
    }
    /**
     * @return Nested argument containing configuration of
     * the custom OCSP responder endpoint. Defined below.
     * 
     */
    public Optional ocspConfiguration() {
        return Optional.ofNullable(this.ocspConfiguration);
    }

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

    public static Builder builder(CertificateAuthorityRevocationConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable CertificateAuthorityRevocationConfigurationCrlConfiguration crlConfiguration;
        private @Nullable CertificateAuthorityRevocationConfigurationOcspConfiguration ocspConfiguration;
        public Builder() {}
        public Builder(CertificateAuthorityRevocationConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.crlConfiguration = defaults.crlConfiguration;
    	      this.ocspConfiguration = defaults.ocspConfiguration;
        }

        @CustomType.Setter
        public Builder crlConfiguration(@Nullable CertificateAuthorityRevocationConfigurationCrlConfiguration crlConfiguration) {

            this.crlConfiguration = crlConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder ocspConfiguration(@Nullable CertificateAuthorityRevocationConfigurationOcspConfiguration ocspConfiguration) {

            this.ocspConfiguration = ocspConfiguration;
            return this;
        }
        public CertificateAuthorityRevocationConfiguration build() {
            final var _resultValue = new CertificateAuthorityRevocationConfiguration();
            _resultValue.crlConfiguration = crlConfiguration;
            _resultValue.ocspConfiguration = ocspConfiguration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy