com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions {
/**
* @return Enables or disables the logging. Defaults to `false`.
*
*/
private @Nullable Boolean enabled;
/**
* @return The CloudWatch group name for logging. This value is required if `enabled` is true.
*
*/
private @Nullable String logGroupName;
/**
* @return The CloudWatch log stream name for logging. This value is required if `enabled` is true.
*
*/
private @Nullable String logStreamName;
private FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions() {}
/**
* @return Enables or disables the logging. Defaults to `false`.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return The CloudWatch group name for logging. This value is required if `enabled` is true.
*
*/
public Optional logGroupName() {
return Optional.ofNullable(this.logGroupName);
}
/**
* @return The CloudWatch log stream name for logging. This value is required if `enabled` is true.
*
*/
public Optional logStreamName() {
return Optional.ofNullable(this.logStreamName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable String logGroupName;
private @Nullable String logStreamName;
public Builder() {}
public Builder(FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.logGroupName = defaults.logGroupName;
this.logStreamName = defaults.logStreamName;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder logGroupName(@Nullable String logGroupName) {
this.logGroupName = logGroupName;
return this;
}
@CustomType.Setter
public Builder logStreamName(@Nullable String logStreamName) {
this.logStreamName = logStreamName;
return this;
}
public FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions build() {
final var _resultValue = new FirehoseDeliveryStreamSplunkConfigurationS3ConfigurationCloudwatchLoggingOptions();
_resultValue.enabled = enabled;
_resultValue.logGroupName = logGroupName;
_resultValue.logStreamName = logStreamName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy