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

com.pulumi.azurenative.storage.outputs.ExecutionTriggerResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.outputs;

import com.pulumi.azurenative.storage.outputs.TriggerParametersResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ExecutionTriggerResponse {
    /**
     * @return The trigger parameters of the storage task assignment execution
     * 
     */
    private TriggerParametersResponse parameters;
    /**
     * @return The trigger type of the storage task assignment execution
     * 
     */
    private String type;

    private ExecutionTriggerResponse() {}
    /**
     * @return The trigger parameters of the storage task assignment execution
     * 
     */
    public TriggerParametersResponse parameters() {
        return this.parameters;
    }
    /**
     * @return The trigger type of the storage task assignment execution
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(ExecutionTriggerResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private TriggerParametersResponse parameters;
        private String type;
        public Builder() {}
        public Builder(ExecutionTriggerResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.parameters = defaults.parameters;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder parameters(TriggerParametersResponse parameters) {
            if (parameters == null) {
              throw new MissingRequiredPropertyException("ExecutionTriggerResponse", "parameters");
            }
            this.parameters = parameters;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("ExecutionTriggerResponse", "type");
            }
            this.type = type;
            return this;
        }
        public ExecutionTriggerResponse build() {
            final var _resultValue = new ExecutionTriggerResponse();
            _resultValue.parameters = parameters;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy