All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.springwolf.asyncapi.v3.bindings.sns.SNSChannelBindingOrdering Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.bindings.sns;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SNSChannelBindingOrdering {
    /**
     * Required. Defines the type of SNS Topic. Can be either standard or FIFO.
     */
    @NotNull
    @JsonProperty("type")
    private SNSChannelBindingOrderingType type;

    /**
     * Optional. Whether the de-duplication of messages should be turned on. Defaults to false
     */
    @NotNull
    @Builder.Default
    @JsonProperty("contentBasedDeduplication")
    private Boolean contentBasedDeduplication = false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy