com.pulumi.azurenative.chaos.inputs.BranchArgs 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.chaos.inputs;
import com.pulumi.azurenative.chaos.inputs.ContinuousActionArgs;
import com.pulumi.azurenative.chaos.inputs.DelayActionArgs;
import com.pulumi.azurenative.chaos.inputs.DiscreteActionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
/**
* Model that represents a branch in the step.
*
*/
public final class BranchArgs extends com.pulumi.resources.ResourceArgs {
public static final BranchArgs Empty = new BranchArgs();
/**
* List of actions.
*
*/
@Import(name="actions", required=true)
private Output> actions;
/**
* @return List of actions.
*
*/
public Output> actions() {
return this.actions;
}
/**
* String of the branch name.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return String of the branch name.
*
*/
public Output name() {
return this.name;
}
private BranchArgs() {}
private BranchArgs(BranchArgs $) {
this.actions = $.actions;
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BranchArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private BranchArgs $;
public Builder() {
$ = new BranchArgs();
}
public Builder(BranchArgs defaults) {
$ = new BranchArgs(Objects.requireNonNull(defaults));
}
/**
* @param actions List of actions.
*
* @return builder
*
*/
public Builder actions(Output> actions) {
$.actions = actions;
return this;
}
/**
* @param actions List of actions.
*
* @return builder
*
*/
public Builder actions(List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy