com.pulumi.aws.acmpca.outputs.GetCertificateAuthorityRevocationConfigurationOcspConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCertificateAuthorityRevocationConfigurationOcspConfiguration {
/**
* @return Boolean value that specifies whether a custom OCSP responder is enabled.
*
*/
private Boolean enabled;
/**
* @return A CNAME specifying a customized OCSP domain.
*
*/
private String ocspCustomCname;
private GetCertificateAuthorityRevocationConfigurationOcspConfiguration() {}
/**
* @return Boolean value that specifies whether a custom OCSP responder is enabled.
*
*/
public Boolean enabled() {
return this.enabled;
}
/**
* @return A CNAME specifying a customized OCSP domain.
*
*/
public String ocspCustomCname() {
return this.ocspCustomCname;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCertificateAuthorityRevocationConfigurationOcspConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean enabled;
private String ocspCustomCname;
public Builder() {}
public Builder(GetCertificateAuthorityRevocationConfigurationOcspConfiguration defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.ocspCustomCname = defaults.ocspCustomCname;
}
@CustomType.Setter
public Builder enabled(Boolean enabled) {
if (enabled == null) {
throw new MissingRequiredPropertyException("GetCertificateAuthorityRevocationConfigurationOcspConfiguration", "enabled");
}
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder ocspCustomCname(String ocspCustomCname) {
if (ocspCustomCname == null) {
throw new MissingRequiredPropertyException("GetCertificateAuthorityRevocationConfigurationOcspConfiguration", "ocspCustomCname");
}
this.ocspCustomCname = ocspCustomCname;
return this;
}
public GetCertificateAuthorityRevocationConfigurationOcspConfiguration build() {
final var _resultValue = new GetCertificateAuthorityRevocationConfigurationOcspConfiguration();
_resultValue.enabled = enabled;
_resultValue.ocspCustomCname = ocspCustomCname;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy