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

com.rabbitmq.http.client.domain.PolicyInfo Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show 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;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy