com.pulumi.azure.cdn.inputs.FrontdoorSecretSecretArgs 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.inputs;
import com.pulumi.azure.cdn.inputs.FrontdoorSecretSecretCustomerCertificateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
public final class FrontdoorSecretSecretArgs extends com.pulumi.resources.ResourceArgs {
public static final FrontdoorSecretSecretArgs Empty = new FrontdoorSecretSecretArgs();
/**
* A `customer_certificate` block as defined below. Changing this forces a new Front Door Secret to be created.
*
*/
@Import(name="customerCertificates", required=true)
private Output> customerCertificates;
/**
* @return A `customer_certificate` block as defined below. Changing this forces a new Front Door Secret to be created.
*
*/
public Output> customerCertificates() {
return this.customerCertificates;
}
private FrontdoorSecretSecretArgs() {}
private FrontdoorSecretSecretArgs(FrontdoorSecretSecretArgs $) {
this.customerCertificates = $.customerCertificates;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FrontdoorSecretSecretArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FrontdoorSecretSecretArgs $;
public Builder() {
$ = new FrontdoorSecretSecretArgs();
}
public Builder(FrontdoorSecretSecretArgs defaults) {
$ = new FrontdoorSecretSecretArgs(Objects.requireNonNull(defaults));
}
/**
* @param customerCertificates A `customer_certificate` block as defined below. Changing this forces a new Front Door Secret to be created.
*
* @return builder
*
*/
public Builder customerCertificates(Output> customerCertificates) {
$.customerCertificates = customerCertificates;
return this;
}
/**
* @param customerCertificates A `customer_certificate` block as defined below. Changing this forces a new Front Door Secret to be created.
*
* @return builder
*
*/
public Builder customerCertificates(List customerCertificates) {
return customerCertificates(Output.of(customerCertificates));
}
/**
* @param customerCertificates A `customer_certificate` block as defined below. Changing this forces a new Front Door Secret to be created.
*
* @return builder
*
*/
public Builder customerCertificates(FrontdoorSecretSecretCustomerCertificateArgs... customerCertificates) {
return customerCertificates(List.of(customerCertificates));
}
public FrontdoorSecretSecretArgs build() {
if ($.customerCertificates == null) {
throw new MissingRequiredPropertyException("FrontdoorSecretSecretArgs", "customerCertificates");
}
return $;
}
}
}