com.pulumi.azure.keyvault.outputs.CertificateCertificatePolicyLifetimeAction 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.azure.keyvault.outputs.CertificateCertificatePolicyLifetimeActionAction;
import com.pulumi.azure.keyvault.outputs.CertificateCertificatePolicyLifetimeActionTrigger;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
@CustomType
public final class CertificateCertificatePolicyLifetimeAction {
/**
* @return A `action` block as defined below.
*
*/
private CertificateCertificatePolicyLifetimeActionAction action;
/**
* @return A `trigger` block as defined below.
*
*/
private CertificateCertificatePolicyLifetimeActionTrigger trigger;
private CertificateCertificatePolicyLifetimeAction() {}
/**
* @return A `action` block as defined below.
*
*/
public CertificateCertificatePolicyLifetimeActionAction action() {
return this.action;
}
/**
* @return A `trigger` block as defined below.
*
*/
public CertificateCertificatePolicyLifetimeActionTrigger trigger() {
return this.trigger;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertificateCertificatePolicyLifetimeAction defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private CertificateCertificatePolicyLifetimeActionAction action;
private CertificateCertificatePolicyLifetimeActionTrigger trigger;
public Builder() {}
public Builder(CertificateCertificatePolicyLifetimeAction defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.trigger = defaults.trigger;
}
@CustomType.Setter
public Builder action(CertificateCertificatePolicyLifetimeActionAction action) {
if (action == null) {
throw new MissingRequiredPropertyException("CertificateCertificatePolicyLifetimeAction", "action");
}
this.action = action;
return this;
}
@CustomType.Setter
public Builder trigger(CertificateCertificatePolicyLifetimeActionTrigger trigger) {
if (trigger == null) {
throw new MissingRequiredPropertyException("CertificateCertificatePolicyLifetimeAction", "trigger");
}
this.trigger = trigger;
return this;
}
public CertificateCertificatePolicyLifetimeAction build() {
final var _resultValue = new CertificateCertificatePolicyLifetimeAction();
_resultValue.action = action;
_resultValue.trigger = trigger;
return _resultValue;
}
}
}