
com.pulumi.aws.securitylake.outputs.SubscriberNotificationConfiguration Maven / Gradle / Ivy
// *** 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.securitylake.outputs;
import com.pulumi.aws.securitylake.outputs.SubscriberNotificationConfigurationHttpsNotificationConfiguration;
import com.pulumi.aws.securitylake.outputs.SubscriberNotificationConfigurationSqsNotificationConfiguration;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SubscriberNotificationConfiguration {
/**
* @return The configurations for HTTPS subscriber notification.
*
*/
private @Nullable SubscriberNotificationConfigurationHttpsNotificationConfiguration httpsNotificationConfiguration;
/**
* @return The configurations for SQS subscriber notification.
* There are no parameters within `sqs_notification_configuration`.
*
*/
private @Nullable SubscriberNotificationConfigurationSqsNotificationConfiguration sqsNotificationConfiguration;
private SubscriberNotificationConfiguration() {}
/**
* @return The configurations for HTTPS subscriber notification.
*
*/
public Optional httpsNotificationConfiguration() {
return Optional.ofNullable(this.httpsNotificationConfiguration);
}
/**
* @return The configurations for SQS subscriber notification.
* There are no parameters within `sqs_notification_configuration`.
*
*/
public Optional sqsNotificationConfiguration() {
return Optional.ofNullable(this.sqsNotificationConfiguration);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubscriberNotificationConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable SubscriberNotificationConfigurationHttpsNotificationConfiguration httpsNotificationConfiguration;
private @Nullable SubscriberNotificationConfigurationSqsNotificationConfiguration sqsNotificationConfiguration;
public Builder() {}
public Builder(SubscriberNotificationConfiguration defaults) {
Objects.requireNonNull(defaults);
this.httpsNotificationConfiguration = defaults.httpsNotificationConfiguration;
this.sqsNotificationConfiguration = defaults.sqsNotificationConfiguration;
}
@CustomType.Setter
public Builder httpsNotificationConfiguration(@Nullable SubscriberNotificationConfigurationHttpsNotificationConfiguration httpsNotificationConfiguration) {
this.httpsNotificationConfiguration = httpsNotificationConfiguration;
return this;
}
@CustomType.Setter
public Builder sqsNotificationConfiguration(@Nullable SubscriberNotificationConfigurationSqsNotificationConfiguration sqsNotificationConfiguration) {
this.sqsNotificationConfiguration = sqsNotificationConfiguration;
return this;
}
public SubscriberNotificationConfiguration build() {
final var _resultValue = new SubscriberNotificationConfiguration();
_resultValue.httpsNotificationConfiguration = httpsNotificationConfiguration;
_resultValue.sqsNotificationConfiguration = sqsNotificationConfiguration;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy