// *** 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.scheduler.inputs;

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


public final class ScheduleTargetEventbridgeParametersArgs extends com.pulumi.resources.ResourceArgs {

    public static final ScheduleTargetEventbridgeParametersArgs Empty = new ScheduleTargetEventbridgeParametersArgs();

    /**
     * Free-form string used to decide what fields to expect in the event detail. Up to 128 characters.
     * 
     */
    @Import(name="detailType", required=true)
    private Output<String> detailType;

    /**
     * @return Free-form string used to decide what fields to expect in the event detail. Up to 128 characters.
     * 
     */
    public Output<String> detailType() {
        return this.detailType;
    }

    /**
     * Source of the event.
     * 
     */
    @Import(name="source", required=true)
    private Output<String> source;

    /**
     * @return Source of the event.
     * 
     */
    public Output<String> source() {
        return this.source;
    }

    private ScheduleTargetEventbridgeParametersArgs() {}

    private ScheduleTargetEventbridgeParametersArgs(ScheduleTargetEventbridgeParametersArgs $) {
        this.detailType = $.detailType;
        this.source = $.source;
    }

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

    public static final class Builder {
        private ScheduleTargetEventbridgeParametersArgs $;

        public Builder() {
            $ = new ScheduleTargetEventbridgeParametersArgs();
        }

        public Builder(ScheduleTargetEventbridgeParametersArgs defaults) {
            $ = new ScheduleTargetEventbridgeParametersArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param detailType Free-form string used to decide what fields to expect in the event detail. Up to 128 characters.
         * 
         * @return builder
         * 
         */
        public Builder detailType(Output<String> detailType) {
            $.detailType = detailType;
            return this;
        }

        /**
         * @param detailType Free-form string used to decide what fields to expect in the event detail. Up to 128 characters.
         * 
         * @return builder
         * 
         */
        public Builder detailType(String detailType) {
            return detailType(Output.of(detailType));
        }

        /**
         * @param source Source of the event.
         * 
         * @return builder
         * 
         */
        public Builder source(Output<String> source) {
            $.source = source;
            return this;
        }

        /**
         * @param source Source of the event.
         * 
         * @return builder
         * 
         */
        public Builder source(String source) {
            return source(Output.of(source));
        }

        public ScheduleTargetEventbridgeParametersArgs build() {
            $.detailType = Objects.requireNonNull($.detailType, "expected parameter 'detailType' to be non-null");
            $.source = Objects.requireNonNull($.source, "expected parameter 'source' to be non-null");
            return $;
        }
    }

}
