All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.integrations.v1alpha.outputs.EnterpriseCrmEventbusProtoNextTaskResponse Maven / Gradle / Ivy

// *** 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.googlenative.integrations.v1alpha.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.integrations.v1alpha.outputs.EnterpriseCrmEventbusProtoCombinedConditionResponse;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class EnterpriseCrmEventbusProtoNextTaskResponse {
    /**
     * @return Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
     * 
     * @deprecated
     * Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
     * 
     */
    @Deprecated /* Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` */
    private List combinedConditions;
    /**
     * @return Standard filter expression for this task to become an eligible next task.
     * 
     */
    private String condition;
    /**
     * @return User-provided description intended to give more business context about the next task edge or condition.
     * 
     */
    private String description;
    /**
     * @return User-provided label that is attached to this edge in the UI.
     * 
     */
    private String label;
    /**
     * @return ID of the next task.
     * 
     */
    private String taskConfigId;
    /**
     * @return Task number of the next task.
     * 
     */
    private String taskNumber;

    private EnterpriseCrmEventbusProtoNextTaskResponse() {}
    /**
     * @return Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
     * 
     * @deprecated
     * Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
     * 
     */
    @Deprecated /* Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` */
    public List combinedConditions() {
        return this.combinedConditions;
    }
    /**
     * @return Standard filter expression for this task to become an eligible next task.
     * 
     */
    public String condition() {
        return this.condition;
    }
    /**
     * @return User-provided description intended to give more business context about the next task edge or condition.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return User-provided label that is attached to this edge in the UI.
     * 
     */
    public String label() {
        return this.label;
    }
    /**
     * @return ID of the next task.
     * 
     */
    public String taskConfigId() {
        return this.taskConfigId;
    }
    /**
     * @return Task number of the next task.
     * 
     */
    public String taskNumber() {
        return this.taskNumber;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(EnterpriseCrmEventbusProtoNextTaskResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List combinedConditions;
        private String condition;
        private String description;
        private String label;
        private String taskConfigId;
        private String taskNumber;
        public Builder() {}
        public Builder(EnterpriseCrmEventbusProtoNextTaskResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.combinedConditions = defaults.combinedConditions;
    	      this.condition = defaults.condition;
    	      this.description = defaults.description;
    	      this.label = defaults.label;
    	      this.taskConfigId = defaults.taskConfigId;
    	      this.taskNumber = defaults.taskNumber;
        }

        @CustomType.Setter
        public Builder combinedConditions(List combinedConditions) {
            this.combinedConditions = Objects.requireNonNull(combinedConditions);
            return this;
        }
        public Builder combinedConditions(EnterpriseCrmEventbusProtoCombinedConditionResponse... combinedConditions) {
            return combinedConditions(List.of(combinedConditions));
        }
        @CustomType.Setter
        public Builder condition(String condition) {
            this.condition = Objects.requireNonNull(condition);
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        @CustomType.Setter
        public Builder label(String label) {
            this.label = Objects.requireNonNull(label);
            return this;
        }
        @CustomType.Setter
        public Builder taskConfigId(String taskConfigId) {
            this.taskConfigId = Objects.requireNonNull(taskConfigId);
            return this;
        }
        @CustomType.Setter
        public Builder taskNumber(String taskNumber) {
            this.taskNumber = Objects.requireNonNull(taskNumber);
            return this;
        }
        public EnterpriseCrmEventbusProtoNextTaskResponse build() {
            final var o = new EnterpriseCrmEventbusProtoNextTaskResponse();
            o.combinedConditions = combinedConditions;
            o.condition = condition;
            o.description = description;
            o.label = label;
            o.taskConfigId = taskConfigId;
            o.taskNumber = taskNumber;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy