com.pulumi.azure.servicefabric.outputs.ClusterCertificateCommonNames 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.servicefabric.outputs;
import com.pulumi.azure.servicefabric.outputs.ClusterCertificateCommonNamesCommonName;
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 ClusterCertificateCommonNames {
/**
* @return A `common_names` block as defined below.
*
*/
private List commonNames;
/**
* @return The X509 Store where the Certificate Exists, such as `My`.
*
*/
private String x509StoreName;
private ClusterCertificateCommonNames() {}
/**
* @return A `common_names` block as defined below.
*
*/
public List commonNames() {
return this.commonNames;
}
/**
* @return The X509 Store where the Certificate Exists, such as `My`.
*
*/
public String x509StoreName() {
return this.x509StoreName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterCertificateCommonNames defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List commonNames;
private String x509StoreName;
public Builder() {}
public Builder(ClusterCertificateCommonNames defaults) {
Objects.requireNonNull(defaults);
this.commonNames = defaults.commonNames;
this.x509StoreName = defaults.x509StoreName;
}
@CustomType.Setter
public Builder commonNames(List commonNames) {
if (commonNames == null) {
throw new MissingRequiredPropertyException("ClusterCertificateCommonNames", "commonNames");
}
this.commonNames = commonNames;
return this;
}
public Builder commonNames(ClusterCertificateCommonNamesCommonName... commonNames) {
return commonNames(List.of(commonNames));
}
@CustomType.Setter
public Builder x509StoreName(String x509StoreName) {
if (x509StoreName == null) {
throw new MissingRequiredPropertyException("ClusterCertificateCommonNames", "x509StoreName");
}
this.x509StoreName = x509StoreName;
return this;
}
public ClusterCertificateCommonNames build() {
final var _resultValue = new ClusterCertificateCommonNames();
_resultValue.commonNames = commonNames;
_resultValue.x509StoreName = x509StoreName;
return _resultValue;
}
}
}