com.pulumi.aws.ses.inputs.EventDestinationKinesisDestinationArgs 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.ses.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 EventDestinationKinesisDestinationArgs extends com.pulumi.resources.ResourceArgs {
public static final EventDestinationKinesisDestinationArgs Empty = new EventDestinationKinesisDestinationArgs();
/**
* The ARN of the role that has permissions to access the Kinesis Stream
*
*/
@Import(name="roleArn", required=true)
private Output roleArn;
/**
* @return The ARN of the role that has permissions to access the Kinesis Stream
*
*/
public Output roleArn() {
return this.roleArn;
}
/**
* The ARN of the Kinesis Stream
*
*/
@Import(name="streamArn", required=true)
private Output streamArn;
/**
* @return The ARN of the Kinesis Stream
*
*/
public Output streamArn() {
return this.streamArn;
}
private EventDestinationKinesisDestinationArgs() {}
private EventDestinationKinesisDestinationArgs(EventDestinationKinesisDestinationArgs $) {
this.roleArn = $.roleArn;
this.streamArn = $.streamArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EventDestinationKinesisDestinationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private EventDestinationKinesisDestinationArgs $;
public Builder() {
$ = new EventDestinationKinesisDestinationArgs();
}
public Builder(EventDestinationKinesisDestinationArgs defaults) {
$ = new EventDestinationKinesisDestinationArgs(Objects.requireNonNull(defaults));
}
/**
* @param roleArn The ARN of the role that has permissions to access the Kinesis Stream
*
* @return builder
*
*/
public Builder roleArn(Output roleArn) {
$.roleArn = roleArn;
return this;
}
/**
* @param roleArn The ARN of the role that has permissions to access the Kinesis Stream
*
* @return builder
*
*/
public Builder roleArn(String roleArn) {
return roleArn(Output.of(roleArn));
}
/**
* @param streamArn The ARN of the Kinesis Stream
*
* @return builder
*
*/
public Builder streamArn(Output streamArn) {
$.streamArn = streamArn;
return this;
}
/**
* @param streamArn The ARN of the Kinesis Stream
*
* @return builder
*
*/
public Builder streamArn(String streamArn) {
return streamArn(Output.of(streamArn));
}
public EventDestinationKinesisDestinationArgs build() {
if ($.roleArn == null) {
throw new MissingRequiredPropertyException("EventDestinationKinesisDestinationArgs", "roleArn");
}
if ($.streamArn == null) {
throw new MissingRequiredPropertyException("EventDestinationKinesisDestinationArgs", "streamArn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy