com.pulumi.azure.keyvault.outputs.GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName 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.keyvault.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 GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName {
/**
* @return A list of alternative DNS names (FQDNs) identified by the Certificate.
*
*/
private List dnsNames;
/**
* @return A list of email addresses identified by this Certificate.
*
*/
private List emails;
/**
* @return A list of User Principal Names identified by the Certificate.
*
*/
private List upns;
private GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName() {}
/**
* @return A list of alternative DNS names (FQDNs) identified by the Certificate.
*
*/
public List dnsNames() {
return this.dnsNames;
}
/**
* @return A list of email addresses identified by this Certificate.
*
*/
public List emails() {
return this.emails;
}
/**
* @return A list of User Principal Names identified by the Certificate.
*
*/
public List upns() {
return this.upns;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List dnsNames;
private List emails;
private List upns;
public Builder() {}
public Builder(GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName defaults) {
Objects.requireNonNull(defaults);
this.dnsNames = defaults.dnsNames;
this.emails = defaults.emails;
this.upns = defaults.upns;
}
@CustomType.Setter
public Builder dnsNames(List dnsNames) {
if (dnsNames == null) {
throw new MissingRequiredPropertyException("GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName", "dnsNames");
}
this.dnsNames = dnsNames;
return this;
}
public Builder dnsNames(String... dnsNames) {
return dnsNames(List.of(dnsNames));
}
@CustomType.Setter
public Builder emails(List emails) {
if (emails == null) {
throw new MissingRequiredPropertyException("GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName", "emails");
}
this.emails = emails;
return this;
}
public Builder emails(String... emails) {
return emails(List.of(emails));
}
@CustomType.Setter
public Builder upns(List upns) {
if (upns == null) {
throw new MissingRequiredPropertyException("GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName", "upns");
}
this.upns = upns;
return this;
}
public Builder upns(String... upns) {
return upns(List.of(upns));
}
public GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName build() {
final var _resultValue = new GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName();
_resultValue.dnsNames = dnsNames;
_resultValue.emails = emails;
_resultValue.upns = upns;
return _resultValue;
}
}
}