com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicyLifetimeActionArgs 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.inputs;
import com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicyLifetimeActionActionArgs;
import com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicyLifetimeActionTriggerArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
public final class CertifiateCertificatePolicyLifetimeActionArgs extends com.pulumi.resources.ResourceArgs {
public static final CertifiateCertificatePolicyLifetimeActionArgs Empty = new CertifiateCertificatePolicyLifetimeActionArgs();
/**
* A `action` block as defined below.
*
*/
@Import(name="action", required=true)
private Output action;
/**
* @return A `action` block as defined below.
*
*/
public Output action() {
return this.action;
}
/**
* A `trigger` block as defined below.
*
*/
@Import(name="trigger", required=true)
private Output trigger;
/**
* @return A `trigger` block as defined below.
*
*/
public Output trigger() {
return this.trigger;
}
private CertifiateCertificatePolicyLifetimeActionArgs() {}
private CertifiateCertificatePolicyLifetimeActionArgs(CertifiateCertificatePolicyLifetimeActionArgs $) {
this.action = $.action;
this.trigger = $.trigger;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertifiateCertificatePolicyLifetimeActionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private CertifiateCertificatePolicyLifetimeActionArgs $;
public Builder() {
$ = new CertifiateCertificatePolicyLifetimeActionArgs();
}
public Builder(CertifiateCertificatePolicyLifetimeActionArgs defaults) {
$ = new CertifiateCertificatePolicyLifetimeActionArgs(Objects.requireNonNull(defaults));
}
/**
* @param action A `action` block as defined below.
*
* @return builder
*
*/
public Builder action(Output action) {
$.action = action;
return this;
}
/**
* @param action A `action` block as defined below.
*
* @return builder
*
*/
public Builder action(CertifiateCertificatePolicyLifetimeActionActionArgs action) {
return action(Output.of(action));
}
/**
* @param trigger A `trigger` block as defined below.
*
* @return builder
*
*/
public Builder trigger(Output trigger) {
$.trigger = trigger;
return this;
}
/**
* @param trigger A `trigger` block as defined below.
*
* @return builder
*
*/
public Builder trigger(CertifiateCertificatePolicyLifetimeActionTriggerArgs trigger) {
return trigger(Output.of(trigger));
}
public CertifiateCertificatePolicyLifetimeActionArgs build() {
if ($.action == null) {
throw new MissingRequiredPropertyException("CertifiateCertificatePolicyLifetimeActionArgs", "action");
}
if ($.trigger == null) {
throw new MissingRequiredPropertyException("CertifiateCertificatePolicyLifetimeActionArgs", "trigger");
}
return $;
}
}
}