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