com.pulumi.aws.cloudwatch.inputs.EventEndpointEventBusArgs 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.cloudwatch.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 EventEndpointEventBusArgs extends com.pulumi.resources.ResourceArgs {
public static final EventEndpointEventBusArgs Empty = new EventEndpointEventBusArgs();
/**
* The ARN of the event bus the endpoint is associated with.
*
*/
@Import(name="eventBusArn", required=true)
private Output eventBusArn;
/**
* @return The ARN of the event bus the endpoint is associated with.
*
*/
public Output eventBusArn() {
return this.eventBusArn;
}
private EventEndpointEventBusArgs() {}
private EventEndpointEventBusArgs(EventEndpointEventBusArgs $) {
this.eventBusArn = $.eventBusArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EventEndpointEventBusArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private EventEndpointEventBusArgs $;
public Builder() {
$ = new EventEndpointEventBusArgs();
}
public Builder(EventEndpointEventBusArgs defaults) {
$ = new EventEndpointEventBusArgs(Objects.requireNonNull(defaults));
}
/**
* @param eventBusArn The ARN of the event bus the endpoint is associated with.
*
* @return builder
*
*/
public Builder eventBusArn(Output eventBusArn) {
$.eventBusArn = eventBusArn;
return this;
}
/**
* @param eventBusArn The ARN of the event bus the endpoint is associated with.
*
* @return builder
*
*/
public Builder eventBusArn(String eventBusArn) {
return eventBusArn(Output.of(eventBusArn));
}
public EventEndpointEventBusArgs build() {
if ($.eventBusArn == null) {
throw new MissingRequiredPropertyException("EventEndpointEventBusArgs", "eventBusArn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy