![JAR search and dependency download from the Maven repository](/logo.png)
io.timson.firehose.request.DeleteDeliveryStreamRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firehose-mock Show documentation
Show all versions of firehose-mock Show documentation
An embedded Java mock for AWS Kinesis Firehose
package io.timson.firehose.request;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class DeleteDeliveryStreamRequest {
private static final ObjectMapper mapper = new ObjectMapper();
@JsonProperty("DeliveryStreamName")
private String name;
private Map otherProperties = new HashMap<>();
@JsonAnyGetter
public Map any() {
return otherProperties;
}
@JsonAnySetter
public void set(String name, Object value) {
otherProperties.put(name, value);
}
public static DeleteDeliveryStreamRequest fromJson(String json) throws IOException {
return mapper.readValue(json, DeleteDeliveryStreamRequest.class);
}
public String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy