// *** 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.aws.appintegrations.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class DataIntegrationScheduleConfig {
    /**
     * @return The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format. This needs to be a time in the past, meaning that the data created or updated before this given date will not be downloaded.
     * 
     */
    private String firstExecutionFrom;
    /**
     * @return The name of the object to pull from the data source. Examples of objects in Salesforce include `Case`, `Account`, or `Lead`.
     * 
     */
    private String object;
    /**
     * @return How often the data should be pulled from data source. Examples include `rate(1 hour)`, `rate(3 hours)`, `rate(1 day)`.
     * 
     */
    private String scheduleExpression;

    private DataIntegrationScheduleConfig() {}
    /**
     * @return The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format. This needs to be a time in the past, meaning that the data created or updated before this given date will not be downloaded.
     * 
     */
    public String firstExecutionFrom() {
        return this.firstExecutionFrom;
    }
    /**
     * @return The name of the object to pull from the data source. Examples of objects in Salesforce include `Case`, `Account`, or `Lead`.
     * 
     */
    public String object() {
        return this.object;
    }
    /**
     * @return How often the data should be pulled from data source. Examples include `rate(1 hour)`, `rate(3 hours)`, `rate(1 day)`.
     * 
     */
    public String scheduleExpression() {
        return this.scheduleExpression;
    }

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

    public static Builder builder(DataIntegrationScheduleConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String firstExecutionFrom;
        private String object;
        private String scheduleExpression;
        public Builder() {}
        public Builder(DataIntegrationScheduleConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.firstExecutionFrom = defaults.firstExecutionFrom;
    	      this.object = defaults.object;
    	      this.scheduleExpression = defaults.scheduleExpression;
        }

        @CustomType.Setter
        public Builder firstExecutionFrom(String firstExecutionFrom) {
            this.firstExecutionFrom = Objects.requireNonNull(firstExecutionFrom);
            return this;
        }
        @CustomType.Setter
        public Builder object(String object) {
            this.object = Objects.requireNonNull(object);
            return this;
        }
        @CustomType.Setter
        public Builder scheduleExpression(String scheduleExpression) {
            this.scheduleExpression = Objects.requireNonNull(scheduleExpression);
            return this;
        }
        public DataIntegrationScheduleConfig build() {
            final var o = new DataIntegrationScheduleConfig();
            o.firstExecutionFrom = firstExecutionFrom;
            o.object = object;
            o.scheduleExpression = scheduleExpression;
            return o;
        }
    }
}
