com.rabbitmq.http.client.domain.PolicyInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-client Show documentation
Show all versions of http-client Show documentation
Java client for the RabbitMQ HTTP API
The newest version!
package com.rabbitmq.http.client.domain;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
public class PolicyInfo {
private String name;
private String vhost;
private String pattern;
private Map definition;
private int priority;
@JsonProperty("apply-to")
private String applyTo;
public PolicyInfo() {
}
public PolicyInfo(String pattern, int priority, String applyTo, Map definition) {
this.pattern = pattern;
this.priority = priority;
this.applyTo = applyTo;
this.definition = definition;
}
public String getVhost() {
return vhost;
}
public void setVhost(String vhost) {
this.vhost = vhost;
}
public String getPattern() {
return pattern;
}
public void setPattern(String pattern) {
this.pattern = pattern;
}
public Map getDefinition() {
return definition;
}
public void setDefinition(Map definition) {
this.definition = definition;
}
public int getPriority() {
return priority;
}
public void setPriority(int priority) {
this.priority = priority;
}
public String getApplyTo() {
return applyTo;
}
public void setApplyTo(String applyTo) {
this.applyTo = applyTo;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return "PolicyInfo{" +
"name='" + name + '\'' +
", vhost='" + vhost + '\'' +
", pattern='" + pattern + '\'' +
", definition=" + definition +
", priority=" + priority +
", applyTo='" + applyTo + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy