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

com.pulumi.azurenative.databoxedge.outputs.GetFileEventTriggerResult Maven / Gradle / Ivy

There is a newer version: 2.82.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.databoxedge.outputs;

import com.pulumi.azurenative.databoxedge.outputs.FileSourceInfoResponse;
import com.pulumi.azurenative.databoxedge.outputs.RoleSinkInfoResponse;
import com.pulumi.azurenative.databoxedge.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetFileEventTriggerResult {
    /**
     * @return A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.
     * 
     */
    private @Nullable String customContextTag;
    /**
     * @return The path ID that uniquely identifies the object.
     * 
     */
    private String id;
    /**
     * @return Trigger Kind.
     * Expected value is 'FileEvent'.
     * 
     */
    private String kind;
    /**
     * @return The object name.
     * 
     */
    private String name;
    /**
     * @return Role sink info.
     * 
     */
    private RoleSinkInfoResponse sinkInfo;
    /**
     * @return File event source details.
     * 
     */
    private FileSourceInfoResponse sourceInfo;
    /**
     * @return Metadata pertaining to creation and last modification of Trigger
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The hierarchical type of the object.
     * 
     */
    private String type;

    private GetFileEventTriggerResult() {}
    /**
     * @return A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.
     * 
     */
    public Optional customContextTag() {
        return Optional.ofNullable(this.customContextTag);
    }
    /**
     * @return The path ID that uniquely identifies the object.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Trigger Kind.
     * Expected value is 'FileEvent'.
     * 
     */
    public String kind() {
        return this.kind;
    }
    /**
     * @return The object name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Role sink info.
     * 
     */
    public RoleSinkInfoResponse sinkInfo() {
        return this.sinkInfo;
    }
    /**
     * @return File event source details.
     * 
     */
    public FileSourceInfoResponse sourceInfo() {
        return this.sourceInfo;
    }
    /**
     * @return Metadata pertaining to creation and last modification of Trigger
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The hierarchical type of the object.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetFileEventTriggerResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String customContextTag;
        private String id;
        private String kind;
        private String name;
        private RoleSinkInfoResponse sinkInfo;
        private FileSourceInfoResponse sourceInfo;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetFileEventTriggerResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customContextTag = defaults.customContextTag;
    	      this.id = defaults.id;
    	      this.kind = defaults.kind;
    	      this.name = defaults.name;
    	      this.sinkInfo = defaults.sinkInfo;
    	      this.sourceInfo = defaults.sourceInfo;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder customContextTag(@Nullable String customContextTag) {

            this.customContextTag = customContextTag;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder kind(String kind) {
            if (kind == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "kind");
            }
            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder sinkInfo(RoleSinkInfoResponse sinkInfo) {
            if (sinkInfo == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "sinkInfo");
            }
            this.sinkInfo = sinkInfo;
            return this;
        }
        @CustomType.Setter
        public Builder sourceInfo(FileSourceInfoResponse sourceInfo) {
            if (sourceInfo == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "sourceInfo");
            }
            this.sourceInfo = sourceInfo;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetFileEventTriggerResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetFileEventTriggerResult build() {
            final var _resultValue = new GetFileEventTriggerResult();
            _resultValue.customContextTag = customContextTag;
            _resultValue.id = id;
            _resultValue.kind = kind;
            _resultValue.name = name;
            _resultValue.sinkInfo = sinkInfo;
            _resultValue.sourceInfo = sourceInfo;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy