
com.pulumi.aws.iot.inputs.TopicRuleSqsArgs 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.Boolean;
import java.lang.String;
import java.util.Objects;
public final class TopicRuleSqsArgs extends com.pulumi.resources.ResourceArgs {
public static final TopicRuleSqsArgs Empty = new TopicRuleSqsArgs();
/**
* The URL of the Amazon SQS queue.
*
*/
@Import(name="queueUrl", required=true)
private Output queueUrl;
/**
* @return The URL of the Amazon SQS queue.
*
*/
public Output queueUrl() {
return this.queueUrl;
}
/**
* The ARN of the IAM role that grants access.
*
*/
@Import(name="roleArn", required=true)
private Output roleArn;
/**
* @return The ARN of the IAM role that grants access.
*
*/
public Output roleArn() {
return this.roleArn;
}
/**
* Specifies whether to use Base64 encoding.
*
*/
@Import(name="useBase64", required=true)
private Output useBase64;
/**
* @return Specifies whether to use Base64 encoding.
*
*/
public Output useBase64() {
return this.useBase64;
}
private TopicRuleSqsArgs() {}
private TopicRuleSqsArgs(TopicRuleSqsArgs $) {
this.queueUrl = $.queueUrl;
this.roleArn = $.roleArn;
this.useBase64 = $.useBase64;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TopicRuleSqsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private TopicRuleSqsArgs $;
public Builder() {
$ = new TopicRuleSqsArgs();
}
public Builder(TopicRuleSqsArgs defaults) {
$ = new TopicRuleSqsArgs(Objects.requireNonNull(defaults));
}
/**
* @param queueUrl The URL of the Amazon SQS queue.
*
* @return builder
*
*/
public Builder queueUrl(Output queueUrl) {
$.queueUrl = queueUrl;
return this;
}
/**
* @param queueUrl The URL of the Amazon SQS queue.
*
* @return builder
*
*/
public Builder queueUrl(String queueUrl) {
return queueUrl(Output.of(queueUrl));
}
/**
* @param roleArn The ARN of the IAM role that grants access.
*
* @return builder
*
*/
public Builder roleArn(Output roleArn) {
$.roleArn = roleArn;
return this;
}
/**
* @param roleArn The ARN of the IAM role that grants access.
*
* @return builder
*
*/
public Builder roleArn(String roleArn) {
return roleArn(Output.of(roleArn));
}
/**
* @param useBase64 Specifies whether to use Base64 encoding.
*
* @return builder
*
*/
public Builder useBase64(Output useBase64) {
$.useBase64 = useBase64;
return this;
}
/**
* @param useBase64 Specifies whether to use Base64 encoding.
*
* @return builder
*
*/
public Builder useBase64(Boolean useBase64) {
return useBase64(Output.of(useBase64));
}
public TopicRuleSqsArgs build() {
if ($.queueUrl == null) {
throw new MissingRequiredPropertyException("TopicRuleSqsArgs", "queueUrl");
}
if ($.roleArn == null) {
throw new MissingRequiredPropertyException("TopicRuleSqsArgs", "roleArn");
}
if ($.useBase64 == null) {
throw new MissingRequiredPropertyException("TopicRuleSqsArgs", "useBase64");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy