com.pulumi.azure.cdn.outputs.GetFrontdoorSecretSecretCustomerCertificate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.cdn.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetFrontdoorSecretSecretCustomerCertificate {
/**
* @return The key vault certificate expiration date.
*
*/
private String expirationDate;
/**
* @return The key vault certificate ID.
*
*/
private String keyVaultCertificateId;
/**
* @return One or more `subject alternative names` contained within the key vault certificate.
*
*/
private List subjectAlternativeNames;
private GetFrontdoorSecretSecretCustomerCertificate() {}
/**
* @return The key vault certificate expiration date.
*
*/
public String expirationDate() {
return this.expirationDate;
}
/**
* @return The key vault certificate ID.
*
*/
public String keyVaultCertificateId() {
return this.keyVaultCertificateId;
}
/**
* @return One or more `subject alternative names` contained within the key vault certificate.
*
*/
public List subjectAlternativeNames() {
return this.subjectAlternativeNames;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFrontdoorSecretSecretCustomerCertificate defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String expirationDate;
private String keyVaultCertificateId;
private List subjectAlternativeNames;
public Builder() {}
public Builder(GetFrontdoorSecretSecretCustomerCertificate defaults) {
Objects.requireNonNull(defaults);
this.expirationDate = defaults.expirationDate;
this.keyVaultCertificateId = defaults.keyVaultCertificateId;
this.subjectAlternativeNames = defaults.subjectAlternativeNames;
}
@CustomType.Setter
public Builder expirationDate(String expirationDate) {
if (expirationDate == null) {
throw new MissingRequiredPropertyException("GetFrontdoorSecretSecretCustomerCertificate", "expirationDate");
}
this.expirationDate = expirationDate;
return this;
}
@CustomType.Setter
public Builder keyVaultCertificateId(String keyVaultCertificateId) {
if (keyVaultCertificateId == null) {
throw new MissingRequiredPropertyException("GetFrontdoorSecretSecretCustomerCertificate", "keyVaultCertificateId");
}
this.keyVaultCertificateId = keyVaultCertificateId;
return this;
}
@CustomType.Setter
public Builder subjectAlternativeNames(List subjectAlternativeNames) {
if (subjectAlternativeNames == null) {
throw new MissingRequiredPropertyException("GetFrontdoorSecretSecretCustomerCertificate", "subjectAlternativeNames");
}
this.subjectAlternativeNames = subjectAlternativeNames;
return this;
}
public Builder subjectAlternativeNames(String... subjectAlternativeNames) {
return subjectAlternativeNames(List.of(subjectAlternativeNames));
}
public GetFrontdoorSecretSecretCustomerCertificate build() {
final var _resultValue = new GetFrontdoorSecretSecretCustomerCertificate();
_resultValue.expirationDate = expirationDate;
_resultValue.keyVaultCertificateId = keyVaultCertificateId;
_resultValue.subjectAlternativeNames = subjectAlternativeNames;
return _resultValue;
}
}
}