com.pulumi.aws.kinesis.outputs.AnalyticsApplicationCloudwatchLoggingOptions 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.kinesis.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AnalyticsApplicationCloudwatchLoggingOptions {
/**
* @return The ARN of the Kinesis Analytics Application.
*
*/
private @Nullable String id;
/**
* @return The ARN of the CloudWatch Log Stream.
*
*/
private String logStreamArn;
/**
* @return The ARN of the IAM Role used to send application messages.
*
*/
private String roleArn;
private AnalyticsApplicationCloudwatchLoggingOptions() {}
/**
* @return The ARN of the Kinesis Analytics Application.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The ARN of the CloudWatch Log Stream.
*
*/
public String logStreamArn() {
return this.logStreamArn;
}
/**
* @return The ARN of the IAM Role used to send application messages.
*
*/
public String roleArn() {
return this.roleArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AnalyticsApplicationCloudwatchLoggingOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private String logStreamArn;
private String roleArn;
public Builder() {}
public Builder(AnalyticsApplicationCloudwatchLoggingOptions defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.logStreamArn = defaults.logStreamArn;
this.roleArn = defaults.roleArn;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder logStreamArn(String logStreamArn) {
if (logStreamArn == null) {
throw new MissingRequiredPropertyException("AnalyticsApplicationCloudwatchLoggingOptions", "logStreamArn");
}
this.logStreamArn = logStreamArn;
return this;
}
@CustomType.Setter
public Builder roleArn(String roleArn) {
if (roleArn == null) {
throw new MissingRequiredPropertyException("AnalyticsApplicationCloudwatchLoggingOptions", "roleArn");
}
this.roleArn = roleArn;
return this;
}
public AnalyticsApplicationCloudwatchLoggingOptions build() {
final var _resultValue = new AnalyticsApplicationCloudwatchLoggingOptions();
_resultValue.id = id;
_resultValue.logStreamArn = logStreamArn;
_resultValue.roleArn = roleArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy