
com.pulumi.azurenative.storage.inputs.ExecutionTriggerArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.storage.inputs;
import com.pulumi.azurenative.storage.enums.TriggerType;
import com.pulumi.azurenative.storage.inputs.TriggerParametersArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
/**
* Execution trigger for storage task assignment
*
*/
public final class ExecutionTriggerArgs extends com.pulumi.resources.ResourceArgs {
public static final ExecutionTriggerArgs Empty = new ExecutionTriggerArgs();
/**
* The trigger parameters of the storage task assignment execution
*
*/
@Import(name="parameters", required=true)
private Output parameters;
/**
* @return The trigger parameters of the storage task assignment execution
*
*/
public Output parameters() {
return this.parameters;
}
/**
* The trigger type of the storage task assignment execution
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The trigger type of the storage task assignment execution
*
*/
public Output type() {
return this.type;
}
private ExecutionTriggerArgs() {}
private ExecutionTriggerArgs(ExecutionTriggerArgs $) {
this.parameters = $.parameters;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExecutionTriggerArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ExecutionTriggerArgs $;
public Builder() {
$ = new ExecutionTriggerArgs();
}
public Builder(ExecutionTriggerArgs defaults) {
$ = new ExecutionTriggerArgs(Objects.requireNonNull(defaults));
}
/**
* @param parameters The trigger parameters of the storage task assignment execution
*
* @return builder
*
*/
public Builder parameters(Output parameters) {
$.parameters = parameters;
return this;
}
/**
* @param parameters The trigger parameters of the storage task assignment execution
*
* @return builder
*
*/
public Builder parameters(TriggerParametersArgs parameters) {
return parameters(Output.of(parameters));
}
/**
* @param type The trigger type of the storage task assignment execution
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The trigger type of the storage task assignment execution
*
* @return builder
*
*/
public Builder type(TriggerType type) {
return type(Output.of(type));
}
public ExecutionTriggerArgs build() {
if ($.parameters == null) {
throw new MissingRequiredPropertyException("ExecutionTriggerArgs", "parameters");
}
if ($.type == null) {
throw new MissingRequiredPropertyException("ExecutionTriggerArgs", "type");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy