com.pulumi.aws.ivschat.outputs.RoomMessageReviewHandler 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.
The newest version!
// *** 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.ivschat.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RoomMessageReviewHandler {
/**
* @return The fallback behavior (whether the message
* is allowed or denied) if the handler does not return a valid response,
* encounters an error, or times out. Valid values: `ALLOW`, `DENY`.
*
*/
private @Nullable String fallbackResult;
/**
* @return ARN of the lambda message review handler function.
*
*/
private @Nullable String uri;
private RoomMessageReviewHandler() {}
/**
* @return The fallback behavior (whether the message
* is allowed or denied) if the handler does not return a valid response,
* encounters an error, or times out. Valid values: `ALLOW`, `DENY`.
*
*/
public Optional fallbackResult() {
return Optional.ofNullable(this.fallbackResult);
}
/**
* @return ARN of the lambda message review handler function.
*
*/
public Optional uri() {
return Optional.ofNullable(this.uri);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RoomMessageReviewHandler defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String fallbackResult;
private @Nullable String uri;
public Builder() {}
public Builder(RoomMessageReviewHandler defaults) {
Objects.requireNonNull(defaults);
this.fallbackResult = defaults.fallbackResult;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder fallbackResult(@Nullable String fallbackResult) {
this.fallbackResult = fallbackResult;
return this;
}
@CustomType.Setter
public Builder uri(@Nullable String uri) {
this.uri = uri;
return this;
}
public RoomMessageReviewHandler build() {
final var _resultValue = new RoomMessageReviewHandler();
_resultValue.fallbackResult = fallbackResult;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy