class HgStoreNotice {

    private final Long nodeId;
    private final HgNodeStatus nodeStatus;
    private final String message;
    private Map<Integer, Long> partitionLeaders;
    private List<Integer> partitionIds;

    private HgStoreNotice(Long nodeId, HgNodeStatus nodeStatus, String message) {
        this.nodeId = nodeId;
        this.nodeStatus = nodeStatus;
        this.message = message;
    }

    public static HgStoreNotice of(Long nodeId, HgNodeStatus nodeStatus) {
        HgAssert.isArgumentNotNull(nodeId, "nodeId");
        HgAssert.isArgumentNotNull(nodeStatus, "nodeStatus");
        return new HgStoreNotice(nodeId, nodeStatus, "");
    }

    public static HgStoreNotice of(Long nodeId, HgNodeStatus nodeStatus, String message) {
        HgAssert.isArgumentNotNull(nodeId, "nodeId");
        HgAssert.isArgumentNotNull(nodeStatus, "nodeStatus");
        HgAssert.isArgumentNotNull(message, "message");

        return new HgStoreNotice(nodeId, nodeStatus, message);
    }

    public Long getNodeId() {
        return nodeId;
    }

    public HgNodeStatus getNodeStatus() {
        return nodeStatus;
    }

    public String getMessage() {
        return message;
    }

    public Map<Integer, Long> getPartitionLeaders() {
        return partitionLeaders;
    }

    public HgStoreNotice setPartitionLeaders(Map<Integer, Long> partitionLeaders) {
        this.partitionLeaders = partitionLeaders;
        return this;
    }

    public List<Integer> getPartitionIds() {
        return partitionIds;
    }

    public HgStoreNotice setPartitionIds(List<Integer> partitionIds) {
        this.partitionIds = partitionIds;
        return this;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}
}

        return "HgStoreNotice{" +
               "nodeId=" + nodeId +
               ", nodeStatus=" + nodeStatus +
               ", message='" + message + '\'' +
               ", partitionLeaders=" + partitionLeaders +
               ", partitionIds=" + partitionIds +
               '}';
    
<no_super_class>