com.pulumi.aws.scheduler.inputs.ScheduleTargetEventbridgeParametersArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
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 detailType;
/**
* @return Free-form string used to decide what fields to expect in the event detail. Up to 128 characters.
*
*/
public Output detailType() {
return this.detailType;
}
/**
* Source of the event.
*
*/
@Import(name="source", required=true)
private Output source;
/**
* @return Source of the event.
*
*/
public Output 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 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 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() {
if ($.detailType == null) {
throw new MissingRequiredPropertyException("ScheduleTargetEventbridgeParametersArgs", "detailType");
}
if ($.source == null) {
throw new MissingRequiredPropertyException("ScheduleTargetEventbridgeParametersArgs", "source");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy